Getting through a miscarriage?

Found out i was pregnant on July 24th, and has bleeding yesterday, had an internal scan which found no sign of pregnancy, had blood works done which came back with 20 hcg levels, im guessing its a miscarriage? What if it happens again?? Has anybody ever been through this? 😭😭😭