Say it clearly. Keep it simple.
Reflexive pronouns refer back to the subject. With a separate accusative object such as die Hände, the reflexive pronoun can be dative: sich die Hände waschen.
Spot the clue
The body-part object is accusative; the affected person is dative mir.
Ich wasche mir die Hände.
Aha! See the common trap
Try thisIch wasche mir die Hände.
Die Hände is already accusative; ich uses dative mir in this pattern.
More examples, less guessing
Ich wasche mir die Hände.I wash my hands.