40 weeks pregnant have had stomach ache back pain could you be going into labor and how long until labor?

It is possible that it would be sooner than you would expect. It could also be that you are laying in bed in an unknowingly uncomfortable position.