How do you make actions based on choices?

I made an NPC give the "hero" a choice in my game but I don't know how to do anything based on those choices.
For example, a conversation goes:
"How can I help you?"
> I don't need help.
> Where is the manager?

Is there a way to make a separate conversation for different choices of dialogue?