Make sure you drink enough water. The human body is primarily water, including our muscles and the discs in our spines. Getting enough water helps increase the size of the intervertebral discs, which will keep your spine flexible and reduce your back pain. You really can't drink too much water.
You need to watch what position you sleep in as well if your back is hurting. Consult your physician, and see what he or she recommends. It is often recommended to sleep on your side with your legs curled up slightly. It is also said often that it is not a good idea to sleep on your back.
It is important to learn how to lift safely in order to avoid back pain and injury. When you lift safely, you use the large muscles in your legs to spare your back. Bend at the knees, suck your stomach in and keep the item close to your body as you lift.