You should talk to your doctor about your specific needs regarding vaccinations and other heatlh-related concerns. The Center for Disease Control also has recommendations. If you are traveling to any other countries before you arrive in Nicaragua, be extra sure to check vaccination requirements for all countries and carry any needed certificates of vaccination.
The most important thing you can do to avoid contracting mosquito-borne viruses (chikungunya, dengue, malaria, and Zika) is to prevent mosquito bites in first place.