Always wear a condom from start to finish of a sexual act and even for oral sex.
If you have had genital warts, do not have skin to skin contact with your partner until they are cleared and even after that, wear a condom.
Do not use the HPV diagnosis to measure the fidelity of your partner. Most likely, everybody who is sexually active, even monogamous for a long time, will have HPV at some point in their lives without knowing it.