Thanks for writing to health care magic.
Holding on to pass urine suggests that the child may be having pain while passing urine which could be because of various causes like infection.
Initially get basic investigations like urine routine examination etc done. They may point to infection of the urinary tract
Also a local examination may suggest local excoriation of skin which may lead to pain while passing urine and avoiding urination.
Hope this helps.