Sex after miscarriage

Hi everyone ,

I was just wondering if it were ok to have sex with my husband after a miscarriage? We miscarried about a week ago . I stopped bleeding about 4-5 days ago. It was a natural miscarriage no meds and no surgery and we were 5 weeks along .