stomach cramps/morning after pill

i used to never get stomach cramps until i took a morning after pill in june 2018. ever since then, my cramps have been so horrid id take days off school and be screaming wanting to die. do my cramps have anything to do with the pill i took half a year ago?