Shield Against Threats: Essential Strategies for Preventing Malware Infections