An upper endoscopy may also be used to keep an eye on an already diagnosed condition or, in some cases, give a treatment.