The CDC recommends an insect repellent that contains at least 20% DEET. You can buy repellent at most grocery and convenience stores in Costa Rica, but unfortunately they mostly carry ones that have 15% DEET. This may work for a short amount of time but a higher concentration will last longer.