Pain..

Took plan b 3 hours ago and I'm cramping and having headaches?? Does it mean the pill is affecting me rn??? Btw I'm ovulating when I had unprotected sex (which is yesterday)