What do I do??

Taylor
So not too long ago I had a fling with my ex boyfriend. It was a wild night (drunk night). Even though I'm in a relationship with my boyfriend for over a year now, I feel bad about what I did and now that I have been to the doctor for my annual check up I find that I have HPV! 
Has anyone ever had this? I'm scared to tell my boyfriend but I know he needs to know just to be safe so he can get checked. 
Help!!!