Gun safety when kids in the home

How to properly store a firearm when a child is in the home.