Nabil El Zhar's 86th-minute strike looked set to give los Granotes a shock win after Sergio Ramos had cancelled out Baba Diawara's opener.
|8/1||Real Madrid at 8/1 with Bet365 to beat Juventus in their next Champions League game|
"We need a touch of patience," the 20-year-old forward told reporters after the game.
"I'm sure we will gradually start playing better. I am very happy - it was a match that we did not start well, but we've got through it and we were able to achieve victory.
"At Madrid, from a young age they teach you to fight to the end."
Los Blancos remain in third in La Liga on 19 points, five behind leaders Barcelona.