To prevent hurting your back while working out, always warm up before and cool down after your workout. Many people only schedule enough time to do their actual workout. Nevertheless, asking your back to lift and strain without first stretching it out is a sure way to injure it. A couple of minutes for back stretching exercises are all it takes to transition safely in and out of your workout.
Quit smoking. Among all of its other health risks, smoking can reduce the blood supply to the vertebrae that make up your spine. This loss of blood flow results in degeneration of the disks, making them more susceptible to injury and damage. This sort of disk damage doesn't cause passing back pain but permanent injury.
In order to prevent back pain and injury, you should face the object you are lifting, bend at the knees, tuck in your stomach muscles and avoid jerking or twisting. If you jerk, twist or bend at the waist, you are very likely to get injured or make any existing back pain worse.