This video takes you through an active stretching warm up. This easy to do routine loosens the body. If you sit down all day and night like most people then do this a couple of times a day (on rising and in the evening). It is also a good warm up pre exercise.
Any pains in any joints then stop! There should only ever be a gentle stretch in the muscles.