Medication will not stop the risk of bleeding. Occasionally ablation angiography - passing a catheter along the blood vessels in the lungs can be successful but this is ultra specialised and not very widely available. I am afraid its surgery that is usually recommended, particularly when the bleeding, may be life threatening.