This short guide (link to: Purdue OWL) can help you understand when to use commas.