If you purchased a Nintendo 3DS to replace your Nintendo DS, you'll be happy to hear that the 3DS is backwards compatible with almost every game in the DS catalog.
How to Play DS Games on Nintendo 3DS
But as fun as it is to play Nintendo DS games on a device as powerful as the 3DS, there are a few things you’ll miss. One feature that does work, for example, is Wi-Fi. If your DS game supports it, you can use your Nintendo 3DS to connect with other players, regardless of what device they’re playing on — whether it’s a DS, 3DS, DSi XL, etc.
The process is no different than playing on a DS. You don't need to enable any special settings or update your device to play older DS titles on your 3DS.
Connect your Nintendo DS game to the 3DS cartridge slot.