Question: how to get rid of an infection on your leg?
Answer: Rest the area.
Elevate the area to help reduce swelling and relieve discomfort.
Use over-the-counter pain relievers such as acetaminophen (Tylenol) or ibuprofen (Motrin) to ease the pain, as well as keep your fever down.