Miscarried at 4weeks

How do I get over the emotional pain... It's been two weeks now since I have miscarried. When I see others who are my age and pregnant or someone who is a horrible person who is able to have their children it makes me pissed off and upset... What can I do for myself?