Citation managers like Zotero and RefWorks can help you manage and format your citations but they are not infallible: it's always a good idea to double check automatically-formatted citations before submitting your assignment.
Manage Your Research- Citation Managers
Citation managers "are programs that collect records or citations from research databases (indexes, catalogs, etc.) that you can then organize for your research projects. They also help you cite your research by creating bibliographies, citations, and footnotes automatically."