Please, make sure that you have a valid passport and, only for certain countries, that you apply for a visa. Such documents should be valid until 6 months after the date of the trip.
In case that you need an invitation letter, please contact infocongress2016@pengalicia.gal.
For further information and the requisites to enter Spain, you may check the webpage of the Ministry of Foreign Affairs and Cooperation of the Spanish Government.