How Do I Clear My Mac Of Viruses?

How do I make sure my Mac is virus free?

.

How do I restart my Mac to get rid of viruses?

Will erasing a Mac get rid of viruses?

How do you know if your Mac is infected with a virus?