Welcoome to the forums, Shelley R! I hope you will return for further questions, as this is about the best place on the internet to do so. The general rule is that if the subject changes between the two clauses, there is a comma.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.