Can you drink coffee at four weeks pregnant?

AB❤️
What are the potential risks of drinking coffee in the first trimester of pregnancy and how much coffee is safe to consume during this period?