Reflexive pronouns are used when a person or thing is referring to the same person or thing. The reflexive pronouns are myself, yourself, himself, herself, itself, ourselves, yourselves, and themselves.
I don’t like working in groups; I prefer to work by myself.
The child is learning to dress herself.
It was hard to pull off the joke without laughing at ourselves.
The dog shook itself after bounding out of the lake.
By doing most of the work themselves, self-publishing authors retain creative control over their work.