How can I sign out from gmail in my Android?
Menu button --> Settings --> Accounts and sync--> find your google account there (enter inside)--> remove account...

You cannot remove the account if it is the last google account on your phone, you will have to add a different account before you remove it.