Beating Planet-F comes down to progressing through its sequence of stages in order:
Work your way through each of these phases and you'll complete the game. One thing worth knowing: there is no secret ending, so once you've cleared the final stage, you've seen all there is to see.