Chosen Solution

I bought a s8 3 weeks back, but yesterday it stopped accepting the charge from the provided charger from samsung. I used another charger and my phone is charging with it (not quick charge). I used my s8 charger with other phone and it’s working fine but not working with my phone.

If its only 3 weeks old, contact the place you purchased from or Samsung and get a warranty exchange.