Warts 😕?

I just came from my gyno who informed me that the 2 tiny little bumps I had were warts. I am completely devastated and I feel dirty. I know it's probably from having HPV but the fact that I could give it to a partner upsets me. I don't want someone to get the wrong idea because I'm safe when it comes to sex but I just don't know what to do. Can anyone with this give me some advice on how to deal with this?