Punctuation goes inside the quotation marks:
"Mr Smiths, can you serve me first, please?" Tom asked.
"You'll have to join the queue, Tom," said Mr Smiths.
"Be quiet! Young people must learn to wait," one of the customers said.
- For Teachers