How would I only allow one instance of the application running at one time on a computer??

Thanks!