When you say dirty needle, are you referring to a needle that was not sterilized, or specifically to a needle that you know was either infected or unclean? In any case, there are no home remedies to handle such a situation. If you have used a needle that you know or suspect to be infected, you should visit your doctor immediately, and get a blood test done as well...