The Bavarian giants went down 2-1 at the Allianz Arena to see their eight-game winning run in the Bundesliga end.
"We won't be thrown out of our stride by the defeat, and we'll learn lessons from it," he said. "We still have a comfortable lead in the table.
"Against a Leverkusen team with excellent counterattacking ability, you have to keep the pace high for 90 minutes, but we didn't do that."
Bayern are currently four points clear of second-place Schalke at the top of the table.