The past tense of work itself out is worked itself out.
The third-person singular simple present indicative form of work itself out is works itself out.
The present participle of work itself out is working itself out.
The past participle of work itself out is worked itself out.