Quotes must have their page number at the end of the sentence, before the end punctuation. Often you will also have to include the author's name within the parentheses, before the number.
Only periods and commas go inside the quotation marks, unless the other punctuation is integral to the quote. Question and exclamation marks go outside, and will typically override weaker punctuation.
If someone is quoted repeatedly, you may use "Ibid" in place of their name. Use "[sic]" in a quote if something is misspelled instead of correcting it.