Cooking dried spaghetti is easy. Use a big enough pot, stir to avoid sticking, and test a bit before the recommended time. Drain just when it's al dente – not a minute later.
Fresh pasta cooks even faster. Just like with dried, salt the boiling water, gently add the pasta, and keep a close eye. Drain and serve pronto once it hits al dente.