Commas must be used correctly depending on the context of the sentence. Commas are used with compound sentences before coordinating conjunctions, with introductory phrases and clauses, and within prepositional phrases. However, commas should not be used unnecessarily as they can disrupt the meaning of a sentence.