Julian Alvarez struck a 90th-minute winner for Atletico Madrid to snatch them a 1-0 victory at Celta Vigo on Thursday in La Liga.
Even a single point would have flattered Diego Simeone's side but they took all three when the Argentina international, on as a substitute, finished Antoine Griezmann's cross at the back post.
Celta had the better chances as Atletico, third, lacked spark ahead of the derby clash against Spanish champions Real Madrid on Sunday.
"We didn't play well in attack in the first half," Simeone told DAZN.
"The subs gave us a bit more creativity to be able to win the game."
Simeone started his son Giuliano for the first time after some substitute appearances in recent weeks and left star summer signing Alvarez on the bench.
Atletico failed to take a single shot in a low quality first half, while Celta threatened seriously only just before the interval, when Jan Oblak saved brilliantly from Iago Aspas' drive.
The Slovenian goalkeeper made another superb stop from Borja Iglesias' close-range header after 57 minutes to keep Atletico level.
However it was Atletico who claimed victory when former Manchester City striker Alvarez, on as a substitute, stayed sharp to prod home Griezmann's deep cross.
"(Scoring) helps for confidence, and it's always to help the team... these are three important points," said Alvarez.
"We knew that it would be a difficult game, Celta have done very well at home.
"Bit by bit we improved in the game, and in the second half we made some chances."
Earlier Ayoze Perez netted twice to claim Villarreal a 2-1 win at Espanyol, taking the Yellow Submarine fourth.
With six goals the Spain international trails only Barcelona's Robert Lewandowski in the scoring charts by one strike.
Home fans were angry with referee Alejandro Quintero Gonzalez's lenient officiating and one threw a plastic cup which struck the official as he walked off at full-time.
Real Betis could only secure a 1-1 draw at bottom of the table Las Palmas.
Barcelona lead the league after their 1-0 win over Getafe on Wednesday with Real Madrid second, beating Alaves 3-2 on Tuesday.