The usual route is a DS emulator plus a ROM of the game you own.
Emulator-Zone (https://www.emulator-zone.com/) hosts NO$GBA, one of the long-standing DS emulators for Windows. Download and extract it, then load a ROM file into it — sites such as https://www.nds-roms.com/ distribute them. Unzip the download before trying to open it, as emulators will not read a compressed archive.
One important caveat: emulators themselves are legal, but downloading ROMs of games you do not own is copyright infringement in most countries. If you own the cartridge, dumping your own copy keeps you on the right side of that line. Also scan any download before running it, since ROM sites are a favourite vector for malware.