No, vasectomy only prevents pregnancy by blocking the passage of sperm. It offers no
protection against STIs. Using barrier methods like condoms is recommended for STI prevention.