Learn first
Punctuation helps a reader follow meaning
A period ends a statement. A question mark ends a direct question. An apostrophe can mark possession or a contraction. A comma can separate parts of a sentence.
How to work it out Read the meaning first. Decide what job the mark needs to do; do not add a mark only because a word ends in s.
A separate example In a separate sentence, Is the gate open? needs a question mark. The gate is open. is a statement.
A calm statement ends with a period. A direct question ends with a question mark. An exclamation mark can show a strong feeling or an urgent warning. Read what the speaker means before choosing an ending.
Worked example
'Where is the bag?' asks a question. 'The bag is here.' tells something. 'Watch out!' gives an urgent warning.