Wait for the Bird to align with the slingshot. Then, click space or tap the screen to shoot rocks. If you miss, you lose. if you hit it, you go onto the next stage.
Got The idea from PolyMars.