What can I do to lose weight if I can't exercise?

I'm overweight and I can sprain my ankle from just 8 minutes of walking on a tread mill at 3 miles an hour. I've done it before. I walked for 30 minutes when my parents forced me to about one month ago and after that I had an small injury on my foot.
What can I do to lose weight if I can't exercise?
Post Opinion