Install firewall

Hi everyone
How to install a firewall
please step by step

Thank you

FreeBSD has ipfw in the base system.

Do I need to start again?
The system has bee invade!
Can you teach me how to protect?

Thank you for your patien support

but, question one about bluetooth mouse
Is the system unavailable right now?