There might be a few reasons why your Nintendo Switch is not charging. First, make sure you're giving it enough time to charge and restart.
There are two ways to reset a Nintendo Switch: a soft reset, which only takes a few seconds, or a factory reset, which will wipe all of your data.