What does it mean when you go to the bathroom and you have blood come out it does not happen all the time

There. There can be many reasons for blood in the urine, some mild but som very serious. If you can see blood in the urine you need to see a doctor soon to make sure it isn't from a cancer. Bladder cancers if caught early can easily be cured.
This. This is when you urinate? Do you have any pain? How old are you? Are you a smoker? Yo need to be seen by a urologist.