Cook the pasta until it's al dente. This means it should be firm when you bite into it but cooked all the way through.