to prevent sth from happening or to prevent sth happening
+ accident, disaster阻止某事发生;防止某事发生
a safe mechanism which would prevent accidents happening一套防止事故发生的安全机制
+ possibility预防发生…
We recognized the possibility and took steps to prevent it happening.我们发现了苗头之后, 便采取了措施防患于未然。