Seriously?

Can u have contractions while sleeping. ? Everytime i wake up i be hurting and having contractions. im 36weeks 5days.