Welcome to Android Central! Sounds like some the browser may have been hijacked to redirect to some ransom site. Try going to the App Manager, select the browser, and Clear Cache/Clear Data, then Force Stop. Now open it again. Does the same thing happen?