Praise be to Allah.
Whoever has an ongoing problem that breaks wudoo’, such as incontinence, istihaadah (non-menstrual vaginal bleeding), etc., has to do wudoo’ for each prayer, and put something over his private parts that will prevent the impurity spreading further to affect other parts of his body or clothing. When he purifies himself he does so for a purpose, so that is not done before the time of prayer. So he has to pay attention to that, and fear Allaah as much as he can, for He has not made any hardship in religion. With regard to the prayers you did previously, what was done in ignorance is valid and will be rewarded in sha Allaah, so there is no need to repeat it.