A citation generator does the work for you. Try NoodleTools. It is a citation generator that Shoreline pays for students to use.
Most databases now help with citation. Look for a button or a link that says citation. Databases frequently make mistakes, so you have to check them. Check which edition your instructor wants you to use. MLA has had a recent update in 2016.