If you notice consistently high humidity, it's best to run the dehumidifier continuously or set it to a timer that aligns with when you use the garage the most.  Or you can run it for a few hours each day or as needed to maintain a comfortable humidity level.  Monitoring the humidity levels using a hygrometer can help you decide when to run the dehumidifier.