first determine if your flash hider is correctly machined and not slightly tilted at the dovetail that the front sight sits on.
if it is tilted due to improper machining..... you will need a usgi or similar , properly machined flash hider.
you remove the front sight from the flash hider and set the action in a soft jawed vice. Use a level on the flat behind the rear sight on the receiver heel and a level on top of the flash hider dovetail. The two should correspond when measured. If they do not correspond and the flash hider is not the culprit.... your barrel is out of index.... or simply put, not rotated to top dead center.
if it's minor..... like out by only 2 or 3 dgrees either way from center..... and you are scoping the rifle.... as long as the indexing is not deflecting the oprod, than it's no big deal.
for those wanting to use reliable irons..... Indexing is kind of an important thing