If you mean you were using the web browser, there's nothing "broken", but the browser does crash sometimes. Reboot entirely or just return to the DSi menu with the Home button, and it should be back to normal. While you're at it, check to see if you have the latest system update, just in case the problem had something to do with that.