Cramping

I recently found out I’m six weeks pregnant. I keep experiencing these terrible stomach pains. Cramping like I’m on my period. My doctor says it’s normal as long as there’s no bleeding and she gave me some painkillers but it’s really severe this pain and I’m worried. Has anyone had my experience and how do you deal with it? Does it stop eventually ? Is it safe for the baby ?