Postpartum sex.. 4 weeks.

I had sex at 4weeks & 3days postpartum.

Should I tell my doctor right away? Will I be okay?

I understand the risks. It was a in the moment thing. No judgment please.