If you're talking about in sheet music, a Coda is a seperate section meant to be an ending. The piece will say "D.C. al Coda" and you repeat the piece back to either the beginning or a specified point, then at a point in the piece, marked by a symbol with a plus sign in a circle you skip down to the section marked "Coda" and play it.