Hi, Welcome to Health care magic forum.
As you describe, you are struck with the a dirty, and rusted pin. There is a possibility of the tetanus, infection, for that you can have a
tetanus toxoid, injection as early as possible after the prick.
There is a possibility of an infection with a pus forming bacteria, like strepto, or stephylo coccal infection.There could also be a mixed infection with an anaerobic infection also.
I advise you to consult a surgeon for diagnosis and treatment.
I usually prescribe to my patient with such symptoms cifixime,
ornidazole, and supportive therapy.
wishing for a quick and complete recovery. Thank you.