Sexually transmitted diseases can be avoided in a number of ways. The most effective way is abstinence, but most people are already sexually active and have no plans to change. The second best option is to use male latex condoms. The third option is to have one sexual partner. Both of you should get tested for STDs before you have any sexual contact. Since some STDs have vaccines, getting vaccinated is highly recommended. Both HPV and hepatitis B have vaccines.
The key to staying STD-free lies in regular testing. You can buy STD rapid test kit and use it at home. By testing yourself every couple of months, you can ensure you are free of sexually transmitted diseases. If you test positive for any STD, you can seek treatment as soon as possible to ensure the illness does not cause any harm to your body.