HI Shakya16,
Is your phone's battery removable? If yes you can try this and let me know if it works.
Remove your battery from your phone for 10 seconds. Connect your charger to the phone without the battery then when your charger is connected, put your battery and turn your phone on.
Hope this helps 😉