Pregnancy and eating

Okay so when you’re pregnant can you eat loads ? Or is it bad for the baby and also what if your baby is allergic how would you even know