How do I know if there contractions

I’m having pains I haven’t felt before I’m gotten a few really bad pains but I don’t know if there contractions, First time mom btw and due the 22