Open Terminal.app
which is located in the Utilities
folder in your Applications
Paste the following command and enter your computer password if it asks and follow any other instructions it has for you.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then once that's installed run the following command.
brew install python3