If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Draw a line that isn't to steep to keep the Astro Surfer moving. Grab power for your surf.
Drag the Mouse to draw a path. Click to Thrust the surfer Forward.