Just drink water regularly, piss when your body tells you it wants to piss, and if you're doing stuff other than beating off, stop and do some readin' up on whatever it is you're doing. Also might wanna get better sleep if your sleep routine is really bad... can fuck with immune system.
It means your urinary tract has a spot of inflammation - it can be finicky, does not mean you need a lifestyle change. Don't worry about it unless it happens a lot or it lasts more than a few hours. Heat and aspirin works wonders.
UTI is the most likely culprit. Piss after you cum if you don't already and fully empty your bladder. If you don't feel like going to the doctor you can try out some cranberry juice and goldenseal root. At least double or triple the amount of water you drink. Oregano will kick pretty much anything you have too. If it doesn't clear up wouldn't hurt to see a physician.
Don't worry, I had that before. Just make sure you use toilet paper and wipe good. Yes, don't just shake, wipe good and make sure your completely done.
Um, dude it means YOU NEED TO SEE A FUCKING DOCTOR! YOUR PECKER IS IN MORTAL DANGER!!! Jesus, why would any man even consider ignoring a problem with his PENIS! Do you have a spare penis just lying around in your desk in case the one you have falls off? Could be kidney stones, could be a bladder infection, could be syphillis, gonohorrea, chymidia, or a dozen other STDs. Get your dick checked out, it's the only tool you have.