After surgery, expect to be in the hospital for three to five days. The length of your hospital stay depends on several factors, such as your age and health before surgery, the type of operation performed, and any complications that arise. You should plan on spending about half of your time in the hospital after stomach surgery sitting up or lying down. Most patients are able to go home within two days after their surgery. However, if you have many complex medical problems before or after your surgery, this may not be possible. Your doctor will tell you how to care for yourself at home after surgery. Follow his or her instructions carefully. These tips may help: Eat only bland foods for a couple of days after surgery. It is important not to eat anything spicy, acidic, or salty for at least two weeks after surgery to prevent irritations of the new intestine site. Drink plenty of fluids during this time period to keep yourself hydrated. Take pain medications as prescribed by your doctor. You may need to take them for a few days after surgery. Do what you can around the house until you are back on your feet.