Using warm rice helps the onigiri hold its shape as cold rice isn't very sticky. Wet your hands with water and apply a pinch of salt. The salt adds more flavor and acts as a preservative while the water helps avoid the rice sticking to your hands (using gloves helps too).