When to go hospital

When do you go hospital with regular contractions? How close do they have to be?