Intrusion prevention systems (IPS) are intrusion detection systems (IDS) that can react to an intrusion immediately, for example, by blocking network traffic. The name may be misleading because they do not prevent an intrusion, simply react to it. To truly prevent intrusions, you should check if your systems have any vulnerabilities using a vulnerability scanner.
Learn more about intrusion prevention systems.