Pay attention to your posture:
This cannot be said enough. Slouching, sitting on sofas which do not offer firm support to the back and sleeping in an awkward position may give you a stiff back the next morning. Reclining in a chair without support to the lower back in the form of a cushion is a no-no. Sleeping on the side in the foetal position is the best way to take the pressure off a weak back.

Maintain optimum weight:

When you put on more weight than your frame can carry, you put pressure on the muscles of the back and abdomen which were not designed to be overloaded. This kind of backache is simply the muscles protesting against the added burden.

Avoid direct pressure on the spine:
When someone other than a professional offers to give you a back massage they may put pressure directly over the spine. This is a wrong technique and may further compound the problem. The best way is to massage on both sides of the spine in a symmetrical fashion with circular motions.

Increase exercise reps slowly and steadily:
Many people injure their backs while working out in the gym because of lack of correct instruction. Overdoing abdominal crunches, using heavier weights than you are used to and increasing your reps drastically will land you with a bad back. You land up with a muscle strain and then have to ease off or avoid the workout altogether.

For an acute backache:
Put up your feet and get some rest. Use ice packs a few times a day for the first two days, then switch over to heat in the form of hot compresses or a hot water bag.

Stretch a sore back:
Stretching is a great way to relieve backache. While lying flat on the bed, bring your knees slowly to your chest and put a little pressure then relax and repeat. This is helpful for lower back pain.

Get out of bed right:
When the alarm clock rings every morning the first thought is to hurry out of bed. Resist the thought and take your time. First roll over to the edge of the bed and lie flat on your back. Then bring your feet down to the floor and bend your upper body sideways. Do not get up vertically and sit in bed as that puts a lot of pressure on the back.

An aspirin a day can help chronic backaches, which last for days together due to their anti-inflammatory effect. An alternative is ibuprofen or another NSAID. Before starting on medication, check with your doctor first.