Get urge to pee when getting erect

I donโ€™t know why but when I get aroused and hard I feel the need to p
ee .then 15 minutes later it happens again but donโ€™t know why

Hey man Iโ€™ve no clue - but perhaps drink less before sex?