Post Partum sex

My boyfriend and I had sex for the first time in a while since the baby. It was random so there wasn’t any preparation before. I’m 7 weeks PP and am terrified of becoming pregnant again. How long did any of you wait to have sex again or maybe even got pregnant back to back?