I highly suggest not riding! I know what it’s like, I broke my feet three different time within four years and I know it’s really terrible not being able to ride but it can be very dangerous. You don’t want to fall off and hurt yourself even more! Maybe spend some time training your horse some cool tricks instead!
Best of luck and I hope your leg heals quickly and you make a full recovery!