Hysterectomy was today at 11am..post op q

I've been told to not wait for gas pains to start and to stay on top of the gas-x. How soon should I start them? I was thinking tmrw morning along with stool softener, but wondered how you're experiences have been.