How long does a maltese need to recover from a spaying surgery?

My maltese (5 1/2 months old) was spayed on Thuresday. She still can not walk normally. She cries every time she has to walk even to go to the bathroom. Is that normal? When she will be able to walk normally? How long does she need to reover?