4 weeks postpartum

I had sex 4 weeks postpartum and I feel like something inside me hurts when I have sex like if his penis touches something that is dropped inside? What can it be?

When I went to postpartum check up dr. Told me everything looked fine and I can have sex now. But I had sex after my appointment.