About STI

I think I have sti I feel pain when I have sex with my bf and um afraid to tell him I think he will dump me if I tell him