How do you manage pain from contractions?

How do you manage pain from contractions?