Post surgery questions

Our girl is on her 4 day post surgery. First night was rough. Whined all night. Surgical team adjusted meds and she slept well that day and the second night. Day 3 started off with rest but could not slept from 2 pm throughout the night. Whining started at night. Surgical team adjusted one med. Hope it will help. First 2 days urinated fine, yesterday not much. Questions: is it normal not to urinate much? When should we expect pooping to begin? Most importantly suggested on not sleeping and whining? I guess I a, sling if this is what we should expect during recovery thank you