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. There are a large number of diseases that can be spread through infected needles, including serious, life threatening ones such as AIDS. Hopefully, you will have not been infected or the infection will be a mild one that can be treated easily.
If the needle was simply dirty, you should still visit your doctor. A blood test will probably be required in this case too. One extremely dangerous condition that can be caused by using dirty needles is sepsis, commonly known as blood poisoning, in which the blood itself is infected by various pathogens. This usually results in fever and inflammation of the whole body. Your blood test will also report a highly elevated count of white blood cells, as they will be trying to fight the infection.
answered by G R