To resolve your MacBook not charging, the first thing to do is check whether the adapter or the cable is broken. If it is, change to a new adapter or cable to try charging again. You mentioned your MacBook won't turn on as well, so you can try to rest SMC to fix these two issues simultaneously.
Here are some ways for you to fix your MacBook won't turn on:
- Detach all the external devices
- Reset SMC
- Perform a power cycle
- Check the display brightness settings or try to use an external monitor
- Go to repair services
If you can hear a startup chime, feel air movement from the vent holes, or see a keyboard backlight, your Mac is turning on, and after a short period, the operating system will load up. When your Mac is booting, but the operating system isn't loading up, you may have a corrupted drive.
You can take the following methods to fix your MacBook won't boot up:
- Start Mac in Safe Mode
- Reset PRAM/NVRAM
- Repair startup disk
- Reset M1 Mac
- Restore Mac
- Reinstall macOS