When comparing stocks using analyst ratings, it is important to consider a few key factors. First, look at the overall rating given by analysts, which is usually a combination of buy, hold, or sell recommendations. Paying attention to the number of analysts covering the stock can also provide insight into the level of consensus among experts.