Learn about Vaccines One important prevention tool against STIs is vaccination. Currently, vaccines are available to protect against infection with HPV, hepatitis A, and hepatitis B. Talk to your healthcare provider to see which vaccines might be recommended for you.