Treat the cause
There is no apparent cause (that's what "idiopathic" means), but sometimes a cause can be found and treated. Otherwise supportive care
at the er or in the hospital is often needed since the patient has no way to stop bleeding once it starts.
Answer assisted by David Miller, Medical Student