Go to the hospital. I broke a few bones in my foot (and arm) a few years ago and it was painfull and swollen like yours. Didn't need a cast for my foot and just strapped it up for me. Doctor told me to take it easy for a few weeks and wear lace up boots for support if I was walking. I was riding the bike again a week later.