After the shaking stops, put on your shoes, get the flashlight and go check on the kids and other family members. Do not try to do this while the ground is shaking, as you may be injured and the kids would have to help you. Bunk beds are probably not the safest place to be during an earthquake because they may topple and fall. Bolting the top bunk to the bottom bunk will help reduce the risk of injury, and bolting the entire bunk bed to the wall will help even more. Stay outside and stay away from trees, telephone poles, the sides of buildings and power lines.
Trees can fall as can power poles and lines.
Many new buildings have glass sides which could come off and fall on you. Older buildings may have unreinforced exteriors which could fall on you. Stay away from chimneys and other masonry. Pull over to the side of the road and stop. Stay in your car.