When two separate clauses are joined by a coordinating conjunction, a comma is used before the coordinating conjunction (unless the two independent clauses are very short). Commas should never be used after conjunctions that are not followed by non-essential elements.