A 71-year-old man presents with a 3-month history of cough and unintentional weight loss of 6 kg. He has smoked 30 cigarettes per day for 40 years. His chest X-ray shows a right upper lobe mass. According to NICE suspected cancer guidance, what is the most appropriate next step?