Power cycle the adapter by unplugging from the wall and the Switch, waiting for 30 seconds, and then plugging it back in. Inspect the charging port ... contact Nintendo Support for a repair ...