NASA crews go through extensive training and have access to tools and drugs to treat medical issues, from dental problems and migraines to heart attacks, while they are in orbit



Source: How Prepared Are ISS Astronauts for Medical Emergencies?