If you suspect you have a broken toe, you should get it checked by a physician. This is important in case it is more than just a simple break. However, there are some things you can do to relieve your pain before you see your doctor.
The standard treatment for any type of fracture is rest, elevation and ice. By applying ice to your toe, you can reduce the swelling and the pain. Be sure not to put the ice directly on your skin and to remove it after 20 minutes or so for a break.
Elevate your foot while you sit and try not to walk as much as is possible.