According to my doctor I am having lower back disc problems. I feel pain there almost all the times when I stand or bend my body backward.

Now, I am gaining fat and don't know how I can lose it as I can't do heavy exercises. What is an effective way to lose weight considering my lower back problem?