Always having contractions at night

They last for ages. Last night I thought I was in labour it was so late I just wanted to sleep so I tried to sleep it off and it helped but still again tonight the same things happening