For some vaccinations and other medicines, you need to take doses well before departure. This tool from the CDC prepares you for which ones you may need on an upcoming trip.
The site has information on what all travelers should focus as well as “most” and “some” travelers, depending on where you’ll go in the country and how long you’ll be there. There is also information for specific types of travelers such as if you’re pregnant, studying abroad, have a chronic disease, are immune-compromised, will have children with you, and beyond.
In addition to recommended medicine, there are also details on what other preventative measures you can take such as taking care with what you eat, not to share bodily fluids, stay away from animals, and more. The CDC also offers information you can use pre- and post-trip as well as during your trip. The CDC recommends you check with your doctor 4 to 6 weeks before your departure date about what medicine you may need to stay safe. Give the tool a try by following the below link.