General Emergencies: 112
EU citizens who hold an EHIC (European Health Insurance Card) are entitled to healthcare services just like local residents. For non-residents, you won't struggle too much to find well-equipped hospitals here. There are 2 main hospitals in the city:
Hospital Insular Hospital Doctor Negrin (a newer hospital)
Travel insurance isn't mandatory, but recommended. Choose a plan that offers coverage for Covid-19 and unexpected quarantine.
*this information is taken from the official CDC website
Being up to date with routine vaccinations is all you need when traveling to Spain.