Subject + 习惯 + Verb/Object
习惯 (xíguàn) means "habit" or "custom" as a noun, and "to be accustomed to" as a verb. It can describe personal routines or broader cultural practices, and often pairs with 风俗 to form 风俗习惯 (customs and habits).
早睡早起是个好习惯。
zǎo shuì zǎo qǐ shì gè hǎo xíguàn.
Going to bed early and rising early is a good habit.
我已经习惯了一个人生活。
wǒ yǐjīng xíguàn le yī gè rén shēnghuó.
I have already gotten used to living alone.
他有饭后散步的习惯。
tā yǒu fàn hòu sànbù de xíguàn.
He has the habit of taking a walk after meals.