Your instructor usually determines which style you must use in your papers. If you aren't sure, ask your professor.
This page links to information on MLA style and others.
Quick Citation Formatting in Databases. Many databases allow you to format citations into various writing styles. When available, look for the wording “cite” or “cite now,” or see if it is an option after clicking on “save, print, email.”