bad belly ache

Hi I'm 12 weeks pregnant due for a scan tomorrow but I've been woken by this awful belly pain it's like a big knot in my tummy and won't go away. I've listen to heartbeat it's lovely and strong so what's going on please someone help!