That is a great question, and one that is best answered by your primary care doctor
or a doctor specializing in the urogenital system such as a urologist
. There is very limited history provided regarding your age and medical comorbidities, especially those related to your urogenital system so it is difficult to know why you ejaculated after urinating. That being said, more information would be very helpful and so it is important to know the answers to these questions and discuss them with your primary care doctor who will be better able to elucidate what is the underlying cause of this. Have you ever experienced this before? Were you performing any sexual acts prior to urinating or was this completely spontaneous? Do you have difficulty urinating or ejaculating and has this progressed recently? These are important questions to help your doctor figure out the cause of this. In general, if this happened once as an isolated event, then it is probably something to be aware of and keep an eye on, while if this is something that is happening often, you should see a doctor immediately as this could be a sign of something serious underlying this.