Probably using the wrong brand of charger for it, never USE "LG chargers for Samsung phones" plus you maybe using devices on the same eletrical outlet ?
Check Cable & Adapter – Use a different one. Clean Charging Port – Remove dust/lint. Restart Phone – Fix minor software issues. Try Safe Mode – A bad app might be the issue. Check for Damage – Bent port or swollen battery?