An interjection is typically followed by an exclamation point. It emphasizes the urgency or intensity of a thought, emotion, or request. An example of an interjection is “whoa!”
You use a comma or period if the expressed emotion is not supposed to come across as intense (e.g., “Oh. I must have missed that.”).
The QuillBot Grammar Checker automatically fixes punctuation mistakes for free!