Writing a paper with footnotes

<p>Do I put the Ibid next to the actual quote or in the footnotes? Thanks!</p>