I assume you are shocking because something is not right with your water.

If so, run your pump 24/7 and maintain shock level until your water is back the way you want it. Then, let your chlorine drift down to normal maintenance and return your pump to it's normal schedule