You use quotation to show when someone is speaking. Sometimes, you can use it when you are thinking something. Here are some examples:
John said, "I think I will go get some candy at the store."
I looked at him after he shut the door and thought, "I wish I had enough money to get some candy too."