Sex after miscarriage

Ju

Hey girls. As some of you know i had a miscarriage last sunday. Well I finally stopped bleeding today and was wondering how long i’m supposed to wait to have sex with my husband. I was on pelvic rest the whole few weeks i was pregnant so it’s been a while that we’ve been intimate. But i’ve been reading a lot of stuff that’s says if we have sex too soon it can cause an infection? Any advice from people that have been through this?? Thanks in advance.