Gently. Use low heat to keep the pesto from drying out and getting too thick.