Negative tests after miscarriage

How long did it take you to get a negative test after a miscarriage? And how long until you got pregnant again??