Need to lose weight in

I need to lose 40lbs in 8 weeks how can I do it. My health isn't great I have bad back pain and have gallbladder problems what can I do to loose that much with out hurting myself