When to go to the hospital

Angel
I'm a FTM so I'm learning new things everyday. I have a question.. When is it best to head to the hospital. Soon after the water breaks? Or once contractions become closer (4-1-1 rule)    I know sometimes people say they will labor for a while at home before going but what situations do I need to go immediately or just hang out. Thanks!