PCOS pregnancy question

I have regular periods and can get pregnant but can’t seem to stay pregnant past 6 or 8 weeks . I did stay pregnant but miscarried at 12 weeks. Anyone else have this problem and has a successful pregnancy??