Brother, just walking would be beneficial to start. A brisk walk will help get blood flowing and loosen muscles. Also take a magnesium supp (400 mg ed with food) and stretch morning and night for 10 minutes each. Doing this without fail every day has reduced my body pain by 80%.

When you feel better hit the gym and start lifting again. Once sedentary for just a few weeks or even shorter periods of time your muscles will "lock up" causing pain.

Just my $.02, take it for what it is worth but it changed my life for the better.