Help?

I know this is weird but for some reason I don't want to have sex because I don't want to get an std or HIV or anything (yes I always make sure protection is being used trust me) I don't judge people if they have anything but I just have this irrational fear of getting something and then nobody loving me, like I got tested for somethings at my health department and I was freaking out and I always make sure I'm safe but I can seem to get over this irrational fear of it. Can someone help me like give me advice so I'm not so scared? I'm sorry if this post is offensive.