Yes, everyone has the right to emergency medical attention in Spain. You may have to pay for your care.