You want to be consistent with either the www or not. You also want to make sure you have all the links on your site point back to the same url (with or without the www). If you don't you'll split your link juice between the www and non www urls for your pages. In addition, you should do a 301 redirect to the url you chose.