There are several ways to treat a lung abscess: Antibiotics: Most people get antibiotics into a vein for up to 3-8 weeks. You might switch to oral antibiotics after that. You’ll take them until a chest X-ray shows the abscess is gone. Drainage: You may need this if your abscess is 6 centimeters or more in diameter. Your doctor will use a CT scan to guide them as they insert the drain through your chest wall into the abscess. Surgery: It’s rare, but some people need surgery to remove the part of the lung with the abscess. Sometimes the entire lung has to come out to get rid of the infection. Surgery can also help remove a foreign object.