All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
Discharging some drops of urine invalidates ablution and the prayer. If the urine discharge is not continuous, meaning that it sometimes comes out and then it stops, then when it stops completely, you are obliged to perform ablution and then perform your prayer.
However, if the urine continuously discharges in a way that there is not enough time to perform ablution and then pray during the prescribed time of the prayer without the urine stopping, then you should perform the prayer as you are. However, you should perform ablution for each prayer and put a cloth around your penis to prevent your clothes from being stained by the urine.