1. Zig-zagging so as to sail directly towards the wind (and for some rigs also away from it).
2. Going about (qv).