Get a new SD card, download Luma3DS, preferably straight from github, unzip it to your SD card, insert the card into your 3DS, go through the prompts, see if it boots. Considering B9S is already installed and working, that's all that should be needed.