you may be having a urinary spasm or urinary sphincter spasm. another possibility would be that you have urethritis (inflammation of the distal urinary tube or tip of your penis -- a common cause of urinary urgency). certain sexually-transmitted disease can cause urinary symptom of this nature as well as prostate infections. less common especially in males would be a urinary tract infection. since you felt this for four days now perhaps it would be in your best interest to see a primary care medical provider -- someone who care carefully examine you and run a few basic tests -- to truly find the answer to this issue you are experiencing.
i am a male. why does it feel like i am going to urinate in my pants? . as i relax here on the couch or lay in bed i have stop myself from peeing. it's just a feeling that is immediately there and i stop it by retracting that muscle. it has happened 10-20 times a day for the last 4 days.