My back hurt too. I attributed it too tight muscles, also due to my posturing when I walked. I also attributed it to being in bed for so long.
What helped me is stretching before doing a lot of walking. People don't always realize this, but your hamstrings are connected to your back muscles, and if they are tight, then you can get bad back pain just from that. I used to be an avid runner, but I HAD to stretch well before I ran. In college, I played soccer, and the athletic trainer taught me two awesome hamstring stretches that I still use.
The first one is easy: find something freestanding that is about the same height as your hips (very important). Place your leg on that, ankle flexed and knees straight. Grab the foot of the elevated leg behind the flexed heel. Hold the position for about 10-15 secs and then switch legs.
The second stretch requires another person: While you're flat on the ground on your back, have the person with you lift one of your legs, perfectly straight, into the air, and hold in two places to keep it straight (on the knee cap and at the heel), while the other leg is on the ground, also straight. The person will push your leg toward your body until you feel a good stretch, at which time you tell him or her to "hold." Hold that stretch for about 10 seconds, and repeat the process, getting closer and closer to your body, for three times. Repeat it with the other leg.
The last stretch will make you feel so loose, you will literally feel like rubber when you get up. It will help a lot if your back pain is due to tight muscles. You'll have to do it everyday, followed by some walking with correct posturing.
Diagnosed with pancolitis in 1998
Tried everything but Remicade over a 14 year period and Imuran was really the only drug that worked before it stopped in 2010
Flared for a year and a half before spiraling out of control
Proctocolectomy with permanent ileostomy 11/29/11
Finally on the road to recovery