After installing Teamviewer for Mac or Windows, proceed as below.
Start the program.
Select Remote Control (top left) if not already selected.
Top centre you will see Your ID and Password. Give these values to the person who you want to connect to your computer.
They will then be able to connect and take over.