Typically I'll think, "hmm I have some money right now, I'm gonna buy an RPG book." Then I'll go to DriveThruRPG and browse what's currently most popular in print until I see one that looks neat.
That, or I'll be in a bookstore or FLGS for something else and think, "hmm, while I'm here let's...