I try to remind myself that was a good experience.
I try to think of failure as good experience.
この場合、次のような言い方ができますよ。
ーI try to remind myself that was a good experience.
「それは良い経験だったと思うようにしている」
ここの「思うようにしている」は to try to remind oneself を使って表現できます。
ーI try to think of failure as good experience.
「失敗を良い経験だと思うようにしている」
もし失敗したときなら、このように言うことができます。
ご参考まで!