For home users the most simple and effective solution is:

- to enable and configure the firewall that comes with their router or internet box.
- Additionally, they can install and configure a software firewall on their computer for an extra layer of protection. For Windows users, the built-in Windows Defender Firewall can be sufficient if configured properly. Linux users have various options for software firewalls, but can also use the firewall that comes with their distribution. 

This approach of using both a hardware and software firewall is known as defense in depth and can provide greater security against cyber threats.
Advanced users might also configure firewall or iptables on each devices. 
It is even possible to add hardware firewall adapters in front of most devices but you should model the threat that you want to prevent to ensure that your efforts are well focused.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence