Nothing like home ice to get the Predators back on track.

After going 0-1-2 on an Eastern Conference road trip, the Predators started a five-game homestand with a 3-2 win over the San Jose Sharks on Tuesday night in front of 15,016 fans at Bridgestone Arena.

“We’ve played some good hockey and probably deserved a little better than only those two points,” Predators defenseman Roman Josi said of the trip. “Yea, we’re happy to win tonight.”

The Predators evened their record at 19-19-6 as goalie Marek Mazanec earned the win with 26 saves against the Western Conference’s fourth-highest scoring team.

The Predators are 8-2-3 in their past 13 games against the Sharks (27-11-6) and have won the first two of the three-game season series

“We’ve been playing better than we even did even today and not getting the results needed,” Predators coach Barry Trotz said. “It was good — the guys got rewarded.”

Most of the scoring came in a four-goal second period.

David Legwand gave Nashville a 1-0 lead with a wrist shot at the 3:35 mark of the period, firing post from the bottom of the faceoff circle for his seventh goal of the season.

San Jose answered quickly when center Joe Pavelski scored a power-play goal to tie it 1-1 at the 6:49 mark.