Postpartum depression

Lillian β€’ πŸŽ€ Baby #1 born June 22 πŸŽ€
 I am expecting but I have a long history of depression and anxiety, and so do my mother and sisters. My mom had pretty bad ppd with me and the next two children not so much with the first. Just wondering if I am more likely to have it or is it random or what?