Does your gym have a "hand cycle" machine? I've used that after spraining my ankle. It's hard!
I would try and take it easy on your ankle, and when it feels less tender, do some ankle exercises. Lay down (or stand up on one leg) and try and write each letter of the alphabet with your foot/toes. Do this 2x a day.
You can likely do some upper body strength and weights exercises. But if you are really new to exercise, you don't want to further injure yourself.