Taking Olumiant can reduce the ability of the immune system to fight infections. Some of the side effects include tuberculosis (TB), and infections caused by bacteria, fungi, or viruses. Doctors will take these risks into account before prescribing the drug, balancing them against the benefits it gives.