This can be a real nuisance and requires some different treatment strategies in the form of medication, acupuncture and TENS machines. It is still good to keep as active as you can and stay positive.
It is good to keep your mind occupied with things you enjoy and company you enjoy. Heat packs seem to work for most patients.
Make sure you are doing the correct exercises for your particular problem and ask for advice from a physiotherapist if unsure.
A useful website is: www.thebackdoor.org.uk