Did my water break????

I was up all night last night in absolutely horrible back and rib pain... finally got some sleep after a bath and woke up to what felt like I was peeing myself ! It woke me up but I can't tell if I peed myself or water broke? I tried smelling it and can't tell.