If the links on your Wordpress site have stopped working, changes are that you've accidentally changed the permalink settings in your blog.
Go to your admin panel via http://{yourdomain}/login.php and then login, then click on General tab on left then click permalinks and set your site back to what it was using before you changed it.