When can I have sex?

SKD • Lost my baby girl at 20 weeks February 2015. Rainbow baby boy born January 20, 2016🌈👶🏼. Early MC May 4, 2017. Second Rainbow baby boy born March 18, 2018!🌈👶🏼 💗Shayla Rose👼🏼💗 💙Royal Holden👶🏼💙 Lucas Stephen 👶🏻💙
I had a D and E a week ago.  I was wondering how long do I have to wait to have sex again?  It looks like the bleeding will be done by tomorrow.