Cavani scored twice today to end a run of eight matches without a goal in all competitions.
Cavani declared that Napoli need to use the victory as a catalyst to finish the season in top form and secure a Champions League place.
He told Sky Italia: "It was important to get back to winning ways, as we did not deserve to be in this difficult moment.
"Now we must enjoy this victory, which will allow us to work in a more relaxed environment. We are doing well and want to go far.
"My problem was purely down to results. I don't talk about my private life, as I talk on the pitch."
Napoli sit second in Serie A, nine points behind leaders Juventus and just three ahead of AC Milan in third.