The initial discovery of lung nodules typically occurs during imaging tests. If a nodule is detected, the next step is often a detailed CT scan to determine its size, shape, and characteristics. Doctors may also consider a patient's history, including smoking status, occupational exposures, and family history of cancer. In some cases, a biopsy or PET scan might be necessary to determine if the nodule is malignant.