Drink a lot of water or other liquid some time before your study session, don't go to the toilet like 4-5 hours prior to this. then wear something tight (could be tights or leggings, whatever you prefer), nipple clamps. Study and force yourself to keep your pee in, hopefully you reach a stage...