Since the proper format for citing sources (whether in-text or as Works Cited) changes from time to time,

A. be sure to research the current guidelines for your current writing.
B. keep a record of the ones you used in the past so you can refer back to them.
C. check with your peers to see what format they are using.