Hi. I'm really sorry i missed your first post & by the time I've seen your second that it's been bad news but your mum did the right thing taking her to the vet. Poor poorly little ham.
For future hams, I Wouldn't have the lights on at her tank all night as it will confuse her body clock but apparently they can't see red light so your mum coils maybe put some red LEDs by the tank?
I've not had to sterilise after illness so I can't help you with that but I know someone will.
I look forward to meeting your hamster when you're ready to post