All grammarA2
Verbs with the Dativ
The rule
With gefallen, passen, wehtun and stehen in the sense of to suit, the thing is the subject and the person is in the Dativ, and with helfen the person you help is in the Dativ.
With gefallen, passen and stehen the verb goes with the thing: der Mantel gefällt mir, die Schuhe gefallen mir. passen is about size: it fits. stehen with a person in the Dativ is about how it looks on you: it suits you.
With wehtun the thing that hurts is the subject: Mir tut der Rücken weh. Both orders are right: Der Rücken tut mir weh.
helfen takes the Dativ: Ich helfe dir, not dich. With a name you cannot see the case: Lotta hilft Frau Becker means she helps her, Lotta hilft ihr.
Examples
Mein Mantel gefällt mir.
I like my coat.
Der Mantel passt mir nicht.
The coat doesn't fit me.
Die Farbe steht dir.
The colour suits you.
Lotta hilft Frau Becker.
Lotta helps Mrs Becker.
Mir tut der Rücken weh.
My back hurts.