Rule #4: Use correct punctuation marks and capitalization.
Example:
“May I buy a new pair of shoes?” Lauren asked her mom.
Note that the quotation marks are outside the end punctuation of the quote; the rest of the sentence has its own end punctuation.
If the quote is not a question or exclamation, use a comma and not a period before the second quotation marks.
“I bought a new jacket yesterday,” Tammy said.