On the Google scholar page on the top right side of the page, click "my profile". This shows a pen/edit symbol next to your name. A box where you add your name, affiliations and other information is shown. In the same box at the end there is box next to "Make profile public". Check or uncheck it!