By this point in your academic career, you understand that not citing your sources appropriately is plagiarism. But why do we require you to learn complex and arcane rules about how your format your citations?
Many databases and other resources now have tools that will create the citation for you. If you choose to use these tools, make sure you double check against the appropriate style/citation manual. Sometimes, these tools will have little mistakes, which are easy to fix, but you need to know the mistake exists in the first place.
Check out the Purdue OWL website for some online examples of properly formatted citations for a variety of citation styles.