TNF and inflammatory bowel disease: Furthermore, men prescribed anti-TNF agents are a unique population in that their primary disease (e.g. inflammatory bowel disease (IBD) or ankylosing spondylitis) can affect sexual function and desire, which could also impact their fertility.