Should i put a comma before but

should i put a comma before but
Put a comma before “but” when it connects two independent clauses. Put a comma after “but” only if it's followed by an interrupter.
1