Summarize:

As with other retinal surgeries, you will be required to abstain from eating or drinking anything for between two and eight hours before the procedure. You may also be instructed to use eye drops to dilate the pupils before surgery. In a vitrectomy, your doctor will remove the vitreous fluid from inside the eyeball, and will remove any tissue that may be preventing the retina from healing. Your doctor will then fill the eye with air, gas, or liquid to replace the vitreous, allowing the retina to reattach and heal.  This procedure is the most commonly-performed type of retinal surgery.  Over time, the substance (air, gas, or liquid) your doctor injected is absorbed by the eye, and your body will produce fluid that will fill the vitreous cavity. If your doctor used silicone oil, however, he will need to surgically remove the oil after several months have passed and the eye has healed. After a vitrectomy, your doctor will send you home with specific care instructions for your eye to help ensure a full recovery. Follow your doctor's instructions carefully, and ask him if you're uncertain of what to do. Your doctor may instruct you to:  Take a pain reliever, like acetaminophen  Use prescription-strength eye drops or ointments After a vitrectomy, most patients are instructed to keep the head stable in a specific position. This is known as "posturing," and it is vital to allow the bubble to settle into the correct position. It can also be helpful in maintaining the eye's shape after surgery.  Follow your doctor's instructions on posturing to allow the retina to heal.  Do not travel by airplane until the gas bubble is fully absorbed. Your doctor will tell you when it is safe to fly again.  Having gas bubbles in the eye may cause complications in other surgeries. Let your doctor know about the gas bubbles before any subsequent surgeries, and before being administered general anesthetic, especially nitrous oxide. Your doctor may give you an eye box to help your eye heal. He will instruct you on how to use the eye box, and will let you know how long to continue using it.  Wash your hands thoroughly with soap and water before handling any eye equipment.  Soak cotton balls in the prescribed eyewash solution.  Loosen any crust that may have formed on your eye, then wipe gently from the inside of your eye across to the outside. If you are treating both eyes, use separate cotton balls for each eye. Your doctor may give you an eye patch and an eye shield to help your eye heal. These tools will help you protect your eye while sleeping and whenever you are outdoors.  Wear the eye shield for at least a week, or for as long as your doctor instructs you to continue use.  The eyepatch will help protect your eye from bright lights, like the sun, and will help prevent dirt and debris from entering your healing eye.
Prepare for surgery. Have a vitrectomy. Recover from surgery. Stay in position. Use an eye box. Wear a shield and patch.