TNF and infection: On the other hand, in these studies, anti-TNF medications were discontinued 2–4 weeks before surgery, which may have diminished the risk of infections with such drugs.