how long do you wait if you don't feel movement?

How long would you wait before calling your doctor? 36 weeks and was feeling very strong movements over night. I've been up walked around, ate and had some juice but he hasn't woken up and moved around much. Usually at this time in the afternoon he's up and moving