The primary vaccines to prevent pneumonia are PCV13 (pneumococcal conjugate vaccine) and PPSV23 (pneumococcal polysaccharide vaccine). According to standard schedules, PCV13 is routinely given to all children under 2 years old and is also recommended for adults 65+ and those with certain chronic health conditions. PPSV23 is recommended for all adults 65+ and for younger adults (19-64) who smoke or have specific medical conditions like heart disease, diabetes, or a weakened immune system. Often, both vaccines are given in a sequence for optimal protection in high-risk groups.