Please don’t judge this might be a stupid question haha

Sooo just found out I’m pregnant and going to the doctor to confirm this morning. I ate an edible with my husband for the first time like a week ago and had no idea I was pregnant. I had even taken a test the day before and it wasn’t positive. Could I get in trouble for that? Haha. I’ve never done anything like this so I’m nervous to go to the doctor. Lol please be kind 😬