You have not indicated what happened to your finger which causes swelling? Because there are many conditions which can cause swelling in fingers. It can be due to injury, fracture, infection, venous insufficiency, cellulitis, insect bit, allergic reaction, etc. You should use antibiotics if it is caused by infection or simply take anti inflammatory drugs or visit a doctor for proper diagnosis and treatment.