This sounds like you have a bladder infection which is common in men and women. If you needed to use the toilet frequently, had blood in your urine, strong smelling urine
, and/or encountered pain whilst urinating then that is what it will be. It often occurs with people who have had sex for the first time, having sex for a substantial period of time, and also happens depending on the size of the object/penis. You can prescribe tablets or medicine from your doctor and you will probably be required to take a urine sample.
If it doesnt sound like this you should see your GP anyway.