Obvs YHTBT but I am interested in the OP:
How far away, and was it a deliberate attempt to kick the ball at the opponent, also how close were you, what did you shout, how quick did the handball happen, was this the first delay of game or distance incident in the game?
I think the smart thing is to manage free kicks so hitting a player less than required didtance doesn’t happen. Depending on the heat of the match and insanity level of the taker, getting involved and on the whistle is the only option.
Leading me to a solution mentioned elsewhere:! ”guys, I wanted it on the whistle, again please, wait for the whistle.”
That’s the get-out-of-jail-free card