John, could you please give us more information about what you have done already and how you are trying to access localhost?
We need to know if Apache and MySQL are running.
What you type in the address bar of your browser.
If there are any clues in the \xampp\apache\logs\error.log file.
In other words, as much detail as possible so we can offer you a suitable solution.