自分のしたことを

what one has done

→ 自分
phrase Rare #29,541
what one has done 自分 refers to the subject’s own actions; を marks the phrase as the object of a following verb.
JA: 彼女は自分のしたことを覚えている。
EN: She remembers what she did.

自分のしたことをよく考えなさい。

Think carefully about what you’ve done.

その男はついに自分のしたことを白状した。

The man finally confessed to what he had done.

自分のしたことを 認めるんだ、デイブ

Admit what you did, Dave.

— ミスティック・リバー (2003)