Feeling discouraged

So in may at 17 weeks we had a medical termination wasn’t looking like baby was going to survive to many complications and more than one doctors opinion. So we tried again and than in August we found out we were expecting again so exciting than at what should have been 10 weeks the reality no heartbeat no growth . We had several ultrasounds over 3 weeks so we took the medication and now after already two weeks still waiting to see if everything is gone or looking at a d and c. It seems like it just keeps dragging on the loss is hard enough but wanting to move forward and try for a healthy baby it’s my motivation to keep going