Chill your hand to reduce blood flow and elevate it above you head so that the blood drains from your finger. When the swelling has reduced use a lubricant such as KY jelly or washing up liquid to help slide the ring off.
This happened to my daughter we went to the fire station where a helpfull fireman cut it off (the ring not the finger) with pair of special cutters made for such jobs.