How long did it take for your body to regulate after you miscarry?

I miscarried on July 4th and I was wondering when it would be okay to ttc again?