Sleep is an important part of recovery. If your pain keeps you awake at night, this will have a negative effect on your recovery process. Relaxation techniques and massage are both methods that can improve your quality of sleep. You could also try to cut back on caffeine, especially late at night, and limit how much alcohol you consume. Exercise can also help you to feel more tired and get a better night's sleep.
Think about the position you sleep in as well; if you have back pain, then your sleeping position could be a contributing factor. Try to sleep in a position that maintains the natural curve of your lower back, such as sleeping on your back with a pillow underneath your knees.