Contractions all day

Kay

I’ve been having contractions about 7mins apart and lasting about 40secs for the last 40 mins. But have been having contractions all day. Feels like menstrual cramps. I’m afraid it’s just Braxton Hicks again. When should I contact my doctor.