Olive oil can stop pasta from sticking to itself. After cooking the pasta, add 1-2 tablespoons of olive oil and stir gently to coat the noodles to prevent sticking.