Miscarriage

I just had a miscarriage on the 22 I was 7 weeks how soon after can you get pregnant?