Miscarriage last week

I know this might sound horrible and maybe insensitive, but I had a miscarriage last week stopped bleeding last Sunday and I’m devastated that it’s happened to me, but how long do I need to wait before we try again. I just turned 8 weeks and everything went down hill.