Miscarriage

Today I had an internal scan at the hospital and I have had a miscarriage unfortunately. Me and my partner are absolutely devastated! I would of been 5+4 today, when would you recommend we try again? X