Can depression be hereditary?

Both of my parents suffered with depression when they were in their teens and my grandma is also dealing with depression now. I think I am kind of dealing with it a little bit myself. People tell me I act like I'm depressed a lot but I honestly don't want to classify myself as depressed because it's nothing to joke around with.  
I don't know what I should do. Sorry for asking complete strangers 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors