sorry for bad english
I assume you have installed Visual Studio (or Visual Studio Code). If not, go to this page and follow instructions. If you have, go to:
Unity > Preferences > External Tools > External Script Editor
and make sure that you are pointing at Visual Studio.