The easiest way to find a good agent is to ask for recommendations from people who have recently purchased or sold a home in the same area. Among your friends, neighbours, relatives, co-workers, and acquaintances, there must be someone who can suggest a good agent. If you strike out however, call reputable real estate offices in your area and speak to the manager. Name the area in which you are interested and the kind of house you want. If you are a first-time buyer, it's a good idea to mention that.
Some agents are better than others with first-time buyers.
Then ask the manager to recommend the best agent for the job. Don't necessarily go with agents that seem to have a high profile. Some people are good at promoting themselves but that doesn't mean they'll provide better service. The agent should come to your home for an introductory meeting. This is your opportunity to decide if you like and trust this person.