Follow the list;
Rule1; Use commas to seperate three or more words, phrases, or clauses written in a series.
Rule2; Use commas to seperate independent clauses when they are joined by any of these seven coordinating conjunctions; but, and, for, or, nor, so, yet.
Follow the list for other rules;