Dumping a ROM can be a little difficult, so make sure you check around for in-depth instructions and find the right equipment for your setup.
In order to get the ROM, you'll need to dump it from an official cartridge in order to legally use it. Due to there being multiple versions of the Ocarina of Time out there, you need a clean version of 1.0. There's a number of emulator programs out there, just make sure you can support a. To start with, you'll need a ROM of Legend of Zelda: Ocarina of Time, along with an N64 emulator program.