Struggling to get pregnant

I've found myself incredibly depressed over not being able to get pregnant. My first pregnancy didn't last long, as I had an early miscarriage. It wasn't planned and I didn't want it at first, but when my SO was happy, I found ease in being happy. 
And then it happened. 
And I'm surrounded by pregnant people at work 
And people I know are becoming pregnant 
I don't want to get angry with them. They haven't don't a thing wrong, but I can't help it. My SO is telling me I need to move on, not forget but move on 
But it's getting really hard for me