DETROIT -- Detroit Red Wings coach Mike Babcock emphasizes being ready from the opening faceoff. One of his regular sayings is, "Get started on time."
The Red Wings didn't do that on Sunday, but they made up for it.
The Red Wings trailed 3-0 after the first period, but scored five consecutive goals.
"Obviously we were embarrassed. That was as bad as we've been," Babcock said. "It wasn't totally a surprise to me. This was a trap game. We've played two real good teams (St. Louis Blues and Nashville Predators) in a row and found ways to win. It's a back-to-back (Detroit beat Nashville 5-2 on Saturday), so you don't have time to get in here and get organized and feeling good about yourself. You don't prepare like you should."
"They were hungrier and won all the battles," Zetterberg said. "We knew we had to play better to turn it around and obviously we got a good start in the next 40 minutes."
"I'm still trying to figure it out. It's obviously not the way I imagined it would happen, but it's a great feeling," said McCollum, Detroit's first-round pick (No. 30) at the 2008 NHL Draft. "I'm just happy with the team that turned it around and really turned it around after I got in there."
Tyler Ennis had two goals and an assist and Drew Stafford and Chris Stewart scored for Buffalo (14-30-3), which lost its 11th straight in regulation. Nikita Zadorov had two assists and Jhonas Enroth made 20 saves.
"We had a great first period, maybe our best period of the year," Ennis said. "But it sounds like a broken record, we took some penalties and they came out strong in the second."
Zetterberg backhanded in a rebound 1:59 into the third period to give the Red Wings a 4-3 lead. It came with Detroit playing 6-on-5 with a delayed penalty against the Sabres.
Zetterberg scored a power-play goal 5:05 into the third.
Ennis' second goal of the game and 12th of the season made it 5-4 at 8:31 of the third period, but Zetterberg completed his hat trick with 8:01 left. It was his 14th goal.
"I think it's been a while [since I scored three goals], so it's always nice to see the puck go in," Zetterberg said. "I think obviously [Justin Abdelkader] makes a really good job for me, standing in front of the goalie. I think [Darren Helm] was standing in front of the goalie on the second one. Nyquist was being in front of the goalie on my third one, so it helps when the goalie doesn't see the puck."
The Red Wings scored three times in the second period to tie the game 3-3.
Nyquist's power-play goal a minute into the second got Detroit on the scoreboard when he swatted his own rebound out of the air for his 18th goal.
Miller scored at 4:07 on a spin-around shot from the inside edge of the right circle.
Tatar tied it with 9:52 left when he picked up a loose puck and snapped it from the left circle. It was Tartar's 21st goal and fifth in four games.
"Obviously we knew we didn't come out hard enough," Nyquist said. "They came out skating. We just weren't good enough in the first, so we talked about it in the locker room, find a way to come back, play with energy and it's nice to see us get some early goals in the second and tie it up going into the third and find a way to win the game."
The Red Wings outshot the Sabres 9-1 in the second period and Buffalo had seven shots over the final 40 minutes.
"We couldn't get through after a while. … We got ourselves in a little bit of trouble after the second period," Sabres coach Ted Nolan said. "We just couldn't get in a shot position."