A magnitude 5.0 earthquake struck off the coast of Central America. Follow local authority guidance.