Locals have told of their fear after their homes were rocked by the earthquake.