The feeling that you need to go to the toilet is due to special nerves that the body uses to inform the brain that the bladder is full. These signals can be misdirected or misinterpreted. The result can be an overactive bladder that frequently wants emptying even if it is not full. As a result, you will urinate frequently both day and night. In some cases, action needs to be taken.
If you have an overactive bladder, there are medicines that relax the bladder and so reduce the feeling that you need to go to the toilet. An overactive bladder can also be treated with bladder training with a urotherapist or with the help of acupuncture.