If the entire sentence is a quote, the period goes before the quotation marks. If only part of the sentence is a quote then the period goes after the quotation mark.
This is what I learned in high school in the early 1960's:
Rule 4. Periods and commas ALWAYS go inside quotation marks.
www.grammarbook.com/punctuation/quotes.asp
"When closing a sentence, does the period go inside or outside a parenthesis?"
If only part of the sentence is parenthetical, then you put the final punctuation outside of the parenthesis:
I enjoy breakfast (sometimes).
If the entire sentence is parenthetical, then you put the punctuation inside the parenthesis.
I enjoy breakfast. (Though I enjoy lunch more.)
https://english.stackexchange.com/questions/6632/where-does-the-period-go-when-using-parentheses
Just some relevant additional info: Parentheses is US English, whereas in UK English it becomes brackets, or round brackets, if one wishes to be specific. Otherwise, the general rules listed above hold. Though there is some difference between US and UK English when it comes to punctuation for quotations. When in doubt, just look it up, but also make sure to remember the differences so you don't have to keep looking things up. Here's a very good resource: https://www.thepunctuationguide.com/british-versus-american-style.html
If you need your writing proofread, check out this proofreader.