The problem described by you is a physiological one. If there is no way of relieving sexual urge and thereby ejaculation by way of either masturbation
or intercourse then it is natures way of getting rid of excess semen . Since you are single you need to masturbate and therby ejaculate to empty the seminal vesicles so that the semen does not leak. You need not worry about this happening. It is not going to affect your sex life later in any way. Don't take any unscientific medications for this as this could cause harm.