Your doctor might also order a chest x-ray. An x-ray will show whether you have pneumonia and if so, how severe it is and where it is located. If the x-rays aren't clear, you might need a CT scan, which takes a series of computer-directed x-rays.