well b sreyas you have asked a nice question....their is a situation when tsunami occurs....
.IF YOU ARE ON LAND
a) if you are at home and hear there is a tsunami warning then make sure all your family members is aware of the warning...your family should evacuate yourself if you live in a evacuation zone..follow the local emergency and law ennforcement.
b) if you are on the beach or near the ocean and you feel the ground shake, move immediately to higher ground, do not wait for a arning to be announced..
c) tsunami generated in distant locations give enough time to people to move away.
hope i answered your question..