Stupid question

Is your water supposed to break first before contractions begin, or can you have contractions first then waters break ?