Certain conditions, including cancer, diabetes and obesity, can weaken an immune system, as can some fairly common medications such as steroids, some medications that treat inflammatory conditions, and others that suppress the immune system. No matter how old you are, or what may be depleting your immune system, you can boost your defenses by choosing healthy behaviors.