Anxious before sex

About a month ago I felt a sharp pain on my left side when I had sex and since there I’ve been very anxious and scared to do it. We have done it and it stopped hurting but lately I’ve been getting tense and scared right before he puts it in and I think I feel pain but like not sure. Idunno :(