German cases: make nominative, accusative and dative predictable
Start with the job a noun performs. The nominative marks the subject, the accusative commonly marks the direct object, and the dative often marks the recipient or indirect object.
Der Mann sieht den Hund.
Ich gebe dem Mann das Buch.
Ich gebe dem Mann das Buch.
Watch the masculine article
Nominative: der → Accusative: den → Dative: dem
Combine this with der, die and das and the weil word-order pattern.
Quick check
Ich helfe ___ Mann.