Why stories.yml file dont always go as we have specified it?

i have many stories and i want to have many stories but sometimes when interacting with the bot it doesnt go as the story that i put,it predicts something else…why is that…can we increase the performace so that the flow dont go out of the story