Pregnant + working out?!

I'm 4 weeks 3 days and too scared to work out.
Im afraid if I work out I will cause a miscarriage, am I being ridiculous? 
I want to stay in shape during my entire pregnancy but very much afraid I could do something wrong.