Malaria is a mosquito-borne disease, and has a high-risk in Mexico. A doctor can be consulted for prescription anti-malarial medicines that will help prevent malaria if taken before, during, and after your trip. You are more at risk if your itinerary includes constant travel outdoors, camping, or visits to rural or swampy areas. However, conditions are rarely so bad in Mexico that anti-malarials are advised.
For further precautions, if you are camping, keep the tent closed at all times, and make sure you check it before travelling for any holes. Keeping repellant on your skin whenever outdoors even in daytime, and before and while sleeping, is an effective deterrent. As much as possible wear long sleeves, particularly at night.
These will help prevent any other mosquito-borne diseases, such as dengue. Yellow fever and Japanese encephalitis are not risks in Mexico, but they are also mosquito-borne and these precautions will help lower any possible risks. Consult with a Travel Vaccination Clinic doctor for further suggestions about mosquito-borne diseases and other recommended vaccinations before you travel.