Rotation after level?!

If I have a platform game, how can I make my hero to
rotate after the level?

Please help! :’(