Mastitis fever.

Are fevers caused by mastitis contagious? I don’t wanna give it to my newborn so his dad has been caring for him all day and night. But I want to be able to help my son. I’m been pumping every 2 hours to help my boob but I want to be able to feed him but his dad is scared I’m contagious