No, you do not need to heat pesto before adding it to pasta, especially if the pasta is freshly cooked and hot already. You can definitely warm it up before adding to cold pasta if desired.