Depending on the type of gas your retina surgeon uses, the gas bubble usually lasts between one and two months in the eye. During this time, you will need to avoid flying on an airplane, significant change in altitude, and avoid anesthesia with nitrous oxide or laughing gas, which some dentists use for in-office procedures.