Depression & anxiety

I was just wondering is depression and anxiety genetic or something cause I know my mom and grandma both were at some point and I've already been really depressed but it's getting worst.. And I don't know what to do.. My mom always thinks I exaggerate but I stilll want some kind of help! I don't want to go down the bad road again..