Postpartum sex question.

Ok I’m 5 weeks postpartum, i go to the dr on the 31st. I still hurt where i was cut, also there’s a little bit of skin not completely healed. Do i wait until the 31st before having sex or can i go ahead and have sex ?

If when i can have sex what’s it like after having a baby. I’m terrified since this is my first baby.