I'm sure Barcelona will have problems at the end of the season because of these two lost points. I expect there will be a very small points difference between them and Real Madrid this year. In a few weeks, the standings will be almost identical, and the difference between the two teams may be only a few points.
Both teams' goals this season should be to finish the season undefeated; any team that makes a mistake will significantly decrease their chances of winning the title

Real Madrid will also lose games and draw some because this is how it used to be every season, so I don't think these two points that Barcelona lost will cause them any problems because they have only played three of the 38 La Liga games. So in my opinion, they still have a better chance of winning the league title. Rayo Vallecano match against Barcelona yesterday was impressive. Which I believe If they can put in the same effort against Real Madrid, I'm confident they can beat them because Barcelona are currently in better form than Real Madrid this season and the victory was hard for Barcelona to get.