In a blender for a few seconds (not too long or it will get very frothy), or shaking vigorously in a hand shaker for 20-30 seconds.  You can also add a small amount of liquid to form a paste, then slowly add the rest of the liquid while stirring.