If you are in the habit of doing something, you do it regularly or often. If you get into the habit of doing something, you begin to do it regularly or often.
They were in the habit of giving two or three dinner parties a month.
I got into the habit of calling in on Gloria on my way home from work.