It can help to use a straight edge to extend the top of the fork crown. Sight your handlebar center, which has a straight section on most bars, relative to the straight edge held to the fork crown. The two should be parallel.
In the image here, the two are not aligned. The stem is off to the left.