To prevent Pasta from sticking together, make sure to add it to the Water Before it has Boiled, as well as adding enough amount of salt to the cooking water.
There is no need to add olive oil to your pasta when cooking. It won’t prevent it from sticking together, and will just end up down the drain.