Please help

How long after miscarriage can i try again or will it just happen again. I have no hope & dont know if i ever want to try again the pain and heartbreak is too much. 😭