Change your shoe
Change to a looser-fitting shoe, cut out the portion of your shoe that presses on your toe, or wear toeless sandals if possible, which all avoid putting pressure on the painful area.
Use antibiotic cream
An antibiotic cream can reduce inflammation.
Soak your toe
Soak your toe in a solution of Epsom salts which can help draw out infection.