Ideally, run the filter after swim use.

Initially, you should add chlorine (a) whenever it's too low but otherwise (b) in the evening, so it can work all night without being lost to the sun.