Things that helped me to get through the pain were:

That it is a productive pain
That it is finite
That you have a baby by the next day
That there is epidural
That most child-bearing women are happy to do it all again at least one more time.
That lots of people have done it before me, even wimpier ones than me!