First aid is free for every foreigner. EU citizens are insured on the basis of the European Health Insurance Card when they are in another member state and are, from the point of view of social security, entitled to the same rights and have the same obligations as citizens of that given member state.
Those with jobs are insured in the country where they exercise their occupational activity. If you participate in an international student exchange programme or study at a state-run institute, you are entitled to free medical care. Based on the valid agreement between the host and the home universities, you are allowed to use the facilities of the Hungarian social security system.
In possession of your residence permit and your attendance certificate, please contact the local Health Insurance Fund. If you study in Hungary independent of any placement, you can take out health insurance with the Health Insurance Fund at a cost of 30% of the local minimum wage.