TNF and infection: For example, anti-TNF medications may increase the risk of infections, such as pneumonia, but newer biologics or IL-12/23 inhibitors have better safety profiles regarding infection risk.