It sounds like we are missing a lot of the story, which means I can't help aside from the advice below.
Which version of Luma3DS is displayed at the top of the config settings? Assuming you have B9S installed, I suggest you restore a NAND backup. If you don't have a NAND backup, you can perform a CTRTransfer. Either one should fix your booting issue.