She was on anesthetics for hours, it's normal she doesn't want to move. Try to keep her quiet, don't let her jump or run for at least 2 days. Take her out frequently to let her pee, and keep checking the wound. If she licks it, it starts to swell or bleed, contact your vet. The recheck after surgery is free. Is she whimpers that means she's in a dull pain. Contact your vet for some pain medication if she keeps crying. It's okay, don't worry about it too much and keep her rested.
Getting your female dog spayed will prevent cancer and urinary diseases. 80% of female dogs will get uterios cancer if not spayed before the first heat (between 6 and 9 months). Dogs are proven to live 1-3 years longer and lead a healthier life after being neutered or spayed.
You did the right thing.