Welcome to Healthcare Magic
You could be having full bladder before doing sex which is why you go to toilet immediately. Other cause could be trauma induced urinary tract infection
which makes increased frequency and urgency in micturition. Get urine tested for infection if you have burning sensation, fever
. Drink plenty of water.