To prevent pasta from sticking together, make sure to use a large pot with plenty of water. This allows the pasta to move freely while it cooks. Also, it’s important to stir the pasta occasionally, especially in the first few minutes of cooking to prevent clumping.