You might need to take prescription medicine prior to, during, and following your trip to avoid malaria, especially if you are going to low-altitude locations. You are able to then submit an application for a tourist visa for the appropriate part of your travels. See more sophisticated information regarding malaria in Tanzania.