Generally speaking, put a comma before and when it is followed by an independent clause containing a subject, regardless of the length of the sentence. Close the door and lock it. I closed the door, and then I locked it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.