I find the easiest way to cook pasta is by boiling it in a big pot of salted water (do not skip this step as it helps the pasta from sticking together). Make sure the spaghetti is completely submerged.