Log in, then go to Account Settings. The General Account Settings page opens first, and Name is the top row — click Edit beside it and enter what you want.
Save the change and it takes effect immediately, though Facebook applies limits on how often you can rename yourself.