Biologics (particularly “anti-TNF’s”) work by neutralizing signalling chemicals that are ramping up your immune system. They damp this response down. WebMD will have a good review that’s worth a read.
Another source that is always good for information, and one I always turn to in the day job, is the US prescribing information. Humira’s is here. Since the mechanisms of action are the same for enbrel, humira, remicade, simponi and cimzia, you won’t be surprised to find that the side effects (infections) are broadly similar.
The worst side effects confer what’s called a Black Box Warning. The warnings for humira are listed at the front of this information. For anti-TNF’s in general they list serious infection and malignancy (cancers due to reduction in immune surveillance). Efficacy in clinical trials of humira in AS is listed in section 14.4.
If you have any questions, you should ask your rheumatologist. I’m not a physician, but do Clinical Pharmacology research into biologicals and rheumatoid arthritis as my day job.