Does anyone happen to know

I put my dogs monthly flea treatment prevention on them (they were bathed about a week ago) but I need to give them hair cuts and forgot to do it before I put on their flea prevention. How long after should I wait to cut their hair? I want the prevention to be as effective as possible...just hoping someone knows?