NEED ADVICE - lost 20 pounds in 3 weeks

Options
HI, I have recently undergone surgery and have lost 20 pounds over the last three weeks. I am eating healthier and smaller portions, plus drinking lots of water. I know the weight loss is due to the surgery and not eating the way I normally do. I am wondering if I am able to keep the weight from coming back. I have internal stitches so physical activity is limited for 4 more weeks, just walking for now. any advice is helpful.

Thanks,