According to wikipedia, there is no approved vaccine against dengue. You can get dengue through mosquito bites from a certain type of mosquito.

Bring a mosquito repellent lotion or use mosquito nets to protect yourself, that's all you can do