pregnancy pain or ovulation pain

i had unprotected sex give or take about 2 weeks ago, and i've been having headaches and stomach pain, i looked up pregnancy symptoms but these symptoms also said it could be ovulation pain, which i am ovulating currently. so i'm curious if when you are having pregnancy pain, is it all the time or does it come on and off?