My advice go see a travel medical doctor and ask them. You don't want malaria! or any other tropical disease. I've taken Methoquine for anti malaria and would get lot of wierd dreams. Now i think Doxycycline is on the market and is suppose to be better.
CDC is a good source:
http://wwwn.cdc.gov/travel/destinationCostaRica.aspx