The Blues have recently exited the Champions Legaue and dropped two points against Blackburn on Sunday.
Ancelotti said: “I hope that the bad moment is finished. The next test is Saturday. If we win on Saturday then the bad period is over.
“It is important that our confidence improves. I think we lost some confidence in our play recently.
“We need to maintain our spirit.”