You should store user passwords as strong, cryptographic hashes.

Storing user passwords as plain text will result in a massive security breach if your database is compromised. To reduce this risk, store only the hash digest of each password. When a user authenticates, re-compute the hash and compare it with the stored hash.

Be sure to salt your passwords hashes too.

Further Reading