A method of treating bacterial or fungal nail infections may include mixing an antibiotic or antifungal injectable medication and a diluent to formulate a topical nail composition. The topical nail composition may be administered directly to a nail affected by the bacterial or fungal infection.