Get pregnant but ends in miscarriage

I have been pregnant 3 times all ending in a miscarriage . I’m 21 what could be the problem I’m so confused