Broke up...now pregnant

Me and my SO have been over the moon happy this past year...recently this month everything went to shit so I decided I needed a break. I literally just found out I was pregnant yesterday we were ttc but had a miscarriage in February. Anybody else go through this...or have any advice for me this would be #2 for us. Well technically #3 with one angel baby