what antibiotic did you take? How long were you on the medication?
Is the area still warm?
thanks for the extra information, although it sounds like your treatment has started off well, I would suggest that you need to carry on with antibiotics for a while longer. Sometimes they are changed to the oral version so that you do not need injections but that depends on your local hospital protocol.
Warm suggests that infection is still present.