Hello and welcome to healthcare forum.
From your history it seems that you have got infection with pus collection at the injection site also known as injection site abscess
You need to visit doctor and will require antibiotic, analgesic
and if the condition is not resolved then you may require incision and drainage
Best wishes for your health.