G6PDH deficiency is an inherited condition that affects primarily males. In some cases, females can also have G6PDH deficiency, but the condition is usually milder in females. If you have been diagnosed with G6PDH deficiency, it is important to avoid certain medications, foods, and toxins that can trigger hemolytic anemia.