If you want to keep the pasta from sticking together, rinse it with cold water after cooking. This will stop the cooking process and help remove any excess starch from the pasta. Adding a little oil to the pasta water can help to keep it from sticking.