This is normal behaviour.Boys of this age can have erections. This does not happen often but may do so at times when they need to pass urine or sometimes out of pure curiosity. Boys also will hold onto their pants as you describe when they are excited about something or when they need to pass urine or if they are shy about something. None of this behaviour has any sexual component at this age.
The information provided does not constitute a diagnosis of your condition. You should consult a medical practitioner or other appropriate health care professional for a physical exmanication, diagnosis and formal
advice. Health24 and the expert accept no responsibility or liability for any damage or personal harm you may suffer resulting from making use of this content.