Here's a list of common and uncommon side effects of Enbrel: https://www.rxlist.com/enbrel-side-effects-drug-center.htm
If you get a fungal infection, you should call your doctor immediately. Since it is a known risk, your doctor will know how to treat you, and may recommend discontinuing the medication for at least some time.