How long until labour

Ang.

38+4 and 1.5 centimeters dilated and 50% effaced. Last night had contractions 5 minutes apart for three hours. The hospital sent me home after a few hours. How long can I stay at 1.5 ? When will active labour start?