Data stored in accounts

I want to make a game where players have accounts and those accounts hold information about them like stats and such. How do I achieve something like that?