First thing would be to get medical attention to make sure it's nothing more than a sprain (you could have a fracture and not know it). You can still lose weight without exercise (while you heal). Focus on your diet. You could get some light hand weights and do some upper body while your foot heals. Swimming might be an option too. Hopefully you heal quickly. Good luck!