Pcos & pregnancy

I want to try to get pregnant once again.. I’ve been pregnant twice this year but have sadly miscarried. Is there anything I can take to not miscarry besides progesterone because that didn’t work for me..