You should call Nintendo's support number. If you're in the US it's 800-255-3700. It's possible they may be able to repair it, or you could just buy another console. The refurbished consoles through Nintendo's store are a very good deal.
Your downloaded games are not lost forever. They are associated with your NNID, which can be transferred to another console with Nintendo Support's help.
- albatross likes this