Vaginal pain after sex

Lately almost every time me and my boyfriend have sex, I get horrible pain outside of my vagina. Like on the actual opening. I don’t think it’s because im not wet enough because I do get pretty wet usually, but why is this happening 🙁