When we are born we automatically know how to suckle, relieve ourselves, sleep and cry. These are habits that are inborn and not taught. With time you get to acquire new habits by observing people and learning.
The behaviors listed above are actually more likely to be considered reflexes. Habits are, by definition, behaviors that are learned through repetition, so all habits would have to be learned after birth.