I would ask your doctor to check you for both immune deficiency and autoimmune disorders, and he/she may want to refer you to an immunologist who specializes in immune disorders.
I would be careful to practice good preventive measures for infection like handwashing and avoiding others who are sick with contagious conditions.