Any child who has a history of being dry and then starts to have accidents needs to be seen for this problem. Putting this together with vomiting
and headaches, he needs to be seen immediately for these symptoms to rule out dangerous causes such as tumor or infection.
Legal disclaimer: I am providing this general and basic information as a public service and my response to this question does not constitute a doctor-patient relationship. For any additional information, advice, or specific concerns, please speak with your own physician. The information provided is current as of the date of the answer entry.