What can I do to stay pregnant?

I am sad and feeling down last week I went to my doctor for a ultrasound because I had a chemical pregnancy in July of this year. In August I got pregnant again. When I went to my ultrasound last week I should have been 7 weeks but I was only measuring 6 weeks and 1 day with a heartbeat. Today I went to a pregnancy clinic which is not a doctor office but I should have been 8 weeks but the baby was measuring 6 weeks and 3 days with no heartbeat. So I am scared I lost this pregnancy too the tech today told me to get into my doctor office and get an ultrasound because her machine might not be a good quality. I never had trouble staying pregnant in the past. What can I do to stay pregnant? I am on 200mgs of progesterone supplements. Btw I am 36 years old. What are test should I ask to be done? I had my AMH tested in February of this year and it was 3.740. My boyfriend won't do a sperm analysis because he doesn't want to know because it will hurt if something is wrong with him. I have two living children and we want another but the two children I have is from a previous relationship.