The key is to rinse the cooked pasta under cold water. This not only stops the cooking process but also removes the extra starch that can cause stickiness.