When to try again?

I’ve been posting recently about my pregnancy, then at five weeks exactly I had a miscarriage. I’m still recovering from it (just stopped bleeding yesterday 5/27) and I was just curious when are we able to have sex again, or even try to conceive again. I’ve tried searching the internet but all the answers were varied... 3 weeks, 3 months... all the way up to 18 months... I just want to see what everyone here says or if anyone has gone through this what their doctors recommended.