Inverted nipples?

This is something I've had my whole life an I'm extremely self conscious about it. I just had my baby. Is this hereditary? I don't want my daughter to go through that.