Learning to control pain (whether in childbirth or any other situation) is learning to relax and breathe properly. The more tense you are the more intense the pain will be, the more relaxed you are the less pain you'll feel. When encountering severe pain, breathe out until you have pushed all the air from your lungs, this will not allow the body or muscles to tighten, it will force all the muscles in your body to relax instead. Breathe slow and exhale completely with each breath, during the pain, and as your body begins to relax you will feel the pain lessening in degree to a tolerable level.
I've used this method all my life when dealing with pain, and consequently have been able to endure otherwise unbearable pain, for long periods of time, such as in childbirth, without problem. Regardless of the type of pain, proper breathing can mean the difference between being in complete agony or the ability to lessen the degree of pain substantially and bring it to within a tolerable range.