Sometimes this happens after the pasta is cooked and drained. Toss it with a little bit of oil or butter to keep it from sticking. This will also make it easier to combine with the sauce later.