Patients also need antibiotics to fight lung infections , vaccines to prevent flu and pneumonia and lessons on special breathing techniques that can help them make the most of their diminished lungs .