Kegel excercises - help?

Pollyp
Is it best to do these "mid-flow" or when you're not peeing at all? Was told mid flow but since been told
This can cause a urine infection? 🤔