Use a reflexive pronoun when the action comes back to the same person: 'I hurt **myself**.' The subject and the object are the same.
Practice tip: Does the action come back to the same person? Then use a reflexive: 'She did it herself.'