You should sketch before applying gesso to the canvas. Gesso is used to prime the canvas, creating a smoother and more receptive surface for paint. By sketching before applying gesso, you have a clean canvas to work on and can easily adjust or erase your sketch as needed.