How to lose weight while on bedrest after surgery?

I had shoulder surgery 3 weeks ago and i'm still unable to exercise but I really want to lose weight. Will cutting my calories do it?
How to lose weight while on bedrest after surgery?
Post Opinion