Sex question

I gave birth 14 days ago. Of course, it was Valentine's Day and we had sex. I forgot my doctor said, we have to wait 6 weeks to have intercourse. What happens if you have intercourse, so early afterbirth? Alittle worried. I'm not having any pain or anything. Just curious, if something happens after.