When is it time to go to the hospital?

Should you go to the hospital when your contractions have been 5 mins apart for 5 hours? Or wait until your water breaks. I don't want to go for no reason.