To prevent spaghetti noodles from sticking together, make sure to stir them frequently while they are cooking and add a little oil to the boiling water.