A good option would be getting a vaccine against HPV> In so many countries is offered to men that have sex with men.
HPV can be transmitted through a prolonged contact skin to skin, but that doesn't mean the lesion you have is due to HPV. If it were, of course you can transmit it to your partner. I recommend you to visit your doctor to check it before taking any further decisions.
All the best.