What is the best way to: how to keep pasta from sticking

Available options:
1). Boil water with some olive oil along with your salt to keep pasta from sticking.;
2). pan fry with some olive oil along with salt to keep pasta from sticking;
Answer:
1).