nervous first time mom to be

I've just be reading stuff here & there about what to eat & not to eat during pregnancy. & I'm not a big caffenine persom but I have been a little bit the past few days with pop. not knowing it can cause miscarriages. should i be worried?? i went in the 3rd for my 8 week ultrasound. they said the baby looked good & the heart beat was 167