I wondered if you would get diseases or traits from you parents

I wanted to know this because sometimes we get certain traits from our parents and sometimes we don't.So I was wondering does that mean you could get diseases from them as well.That's why I made this.