For the procedure, you'll lie on your back with your legs slightly elevated. After cleansing the area to be treated with alcohol, your doctor will use a fine needle to slowly insert a solution into the appropriate vein. The solution, usually in liquid form, works by irritating the lining of the vein, causing it to swell shut and block the flow of blood. Eventually, the vein will become scar tissue and disappear. Some doctors may use a foam version of the solution, particularly when a larger vein is involved. Foam tends to cover more surface area than liquid.Some people experience minor stinging or cramps when the needle is inserted into the vein. If you have a lot of pain, tell your doctor; it may be because the solution has leaked from the vein into surrounding tissue.Once the needle is withdrawn, your doctor applies compression and massages the area to keep blood out of the injected vessel and disperse the solution. A compression pad may be taped onto the injection site to keep the area compressed while your doctor moves on to the next vein.The number of injections depends on the number and size of veins being treated.