Pain!

Okay, so my boyfriend and I have been having sex for a while. It started out as protected, then we got tested and stopped using protection (I’m on bc). At first he used to pull out, but then he started finishing inside of me (which I was okay with) but then I noticed that when he finished inside of me, sex later that day or the next day was very painful. It would feel like he was poking me with something, or it would burn and it would hurt very bad to pee afterwards. So he stopped finishing inside of me and everything is back to normal. I’m making an appointment to see my gynecologist, but I was wondering if this has happened to anyone else??