You should usually wait. If the wait is excessive, you should hit control-alt-delete
which invokes task manager. From there, you can usually close your frozen browser. If you cannot load task manager and close internet explorer(or your browser), then, you should hit reset or power off your computer.