How to activate or inactivate object from Inspector ?

Hi
i have an object called “spawner2” and i want to know how can i activate or inactivate that object by coding , what is the suitable code i should write to do this ?:face_with_spiral_eyes: check the attached picture please
1643765--102110--$spawner.jpg

google 101. Lets take 3 key word from your sentence and put them into an google search. Let us pick Unity, object and activate. Go try it!!! It’s exciting