Most probably it’s becos you stroked your penis too hard while
masturbating, thus tearing the inner skin of your penis.. it
happened to my friend before… nothing serious… it will heal but
dont masturbate for the time being… If you are scared, or if you
see blood on your urine, then go see a doctor… There are a lot of
reasons for blood discharge, most of which is not dangerous so dont
worry too much.