You may have heard that adding a few drops of oil to pasta water will keep the pasta from sticking together. And while that may work, it isn't recommended.
Oil makes the pasta slippery - meaning the sauce will slide right off.
The better method? Make sure you cook the pasta in a large pot with plenty of water and give it a quick stir after you drop the pasta in.