Leaving phone plugged in all the time?
You can leave the phone plugged in. Modern phones have advanced charging electronics, that should prevent overcharging and similar problems.

But when the battery is swelling, you should not continue using the phone. It may start to burn or explode. When you still have seller's warranty, use it. Otherwise I would still buy a new one as soon as possible. Defect batteries can be dangerous.