If you have been referred for a possible Upper GI cancer you will need various investigations such as blood tests, endoscopy, ultrasounds and scans like MRI, CT, PET.
A diagnosis and any possible treatment cannot be decided till all the relevant investigations are completed