Rayo Vallecano recovered from conceding after only two minutes to end a three-match losing run in La Liga with a 2-1 victory at Getafe on Sunday.
In their first game back after the winter break Rayo got off to a terrible start as Alvaro Vazquez fired home a 25-yard free-kick.
Jozabed levelled before the break, though, and Raul Baena converted from close range shortly after the hour mark to complete the turnaround.
Rayo endured a miserable end to the first half of their season with three straight league defeats, but opponents Getafe came into the match without a league success since October.
The hosts are also set to soon be without a coach, with Cosmin Contra poised to leave for Chinese club Guangzhou R&F, but they had their tails up almost immediately against Rayo.
Baena's foul on Pablo Sarabia earned them a free-kick and Vazquez took full advantage, sending his shot from left of centre into the near bottom corner.
Despite that setback, Rayo in fact had the better of the opening half-an-hour, on-loan striker Leo Baptistao twice heading over the bar when well-placed.
A deserved equaliser arrived in the 39th minute, Jozabed converting a low shot into the corner from inside the area.
Rayo pressed for a winner after the break and on-loan Chelsea winger Gael Kakuta struck a shot against a post.
Two minutes later, in the 64th minute, Baena was on target with a low shot from six yards to ensured Rayo started the new year with a win.