I'll share my secret for learning how to properly cook spaghetti. Well-cooked spaghetti should be al dente and not contain oil during cooking to ensure it can integrate with the sauce.
Bring enough water to a boil to completely cover the pasta.
2
When the water is boiling, add salt; don't add it beforehand, as this would make it take longer to boil.Don't add oil to the water, as this makes it waterproof and won't allow it to absorb the sauce well.
3
With the water boiling, add the pasta and let it cook (taking into account the time indicated on the package).
4
To check that the pasta is at its point, 'al dente', it should be firm, without a white center.
5
When you check that it's ready, drain it with the help of a colander and pair it with your favorite sauce.