You control the Witch with arrow keys. You need to catch 15 ghosts. When you have 15 ghosts caught, you win. If you want to start again, you might have to click the flag twice to start it.