Charging on and off

So I have a loose electric socket at home and its charging on and off before it gets charged properly due to having a loose socket. Will that damage my phone?
It could possibly cause a short that could possibly damage your phone, but no one can say for certain. I'd plan on getting the loose socket fix so that it won't damage anything that's plugged into it.
What about if I keep plugging and unplugging my charger with a fixed socket. Will that damage the phone as I keep plugging ang unplugging about 5 times?
Fix the socket.

Original thread: https://forums.imore.com/threads/charging-on-and-off.349299/