Subject + 跟着 + Person/Thing + Verb
跟着 (gēnzhe) is a preposition or verb meaning "following" or "to follow," indicating that someone moves along with or behind another person. It combines 跟 (with/follow) and the aspect particle 着, suggesting an ongoing action. It is used in both literal physical following and figurative senses.
小狗一直跟着主人跑来跑去。
Xiǎo gǒu yīzhí gēnzhe zhǔrén pǎo lái pǎo qù.
The puppy kept running back and forth following its owner.
你跟着我走,别走丢了。
Nǐ gēnzhe wǒ zǒu, bié zǒu diū le.
Follow me and don't get lost.
她跟着老师学了三年书法。
Tā gēnzhe lǎoshī xué le sān nián shūfǎ.
She studied calligraphy with the teacher for three years.