Strictly speaking, there is no such thing as congenital pneumonia. Pneumonia is mainly caused by bacterial infection or viral infection, and most of the patients with pneumonia are newborns, which requires different treatments according to the different conditions of the children. If the pneumonia is caused by bacterial infection, it needs to be treated with anti-infective drugs, such as cefixime capsules. In severe cases, intravenous fluids and antibiotics such as cefaclor and moxifloxacin are needed. If it is caused by viral infection, anti-viral treatment is needed, anti-infection and anti-viral treatment time are about 10-14 days, pay attention to appropriate hydration.