Certain factors can put you at a higher risk for getting postpartum depression.