There are two different types of Prior Year Adjustments that you may need to post from time to time. For further information on how to deal with those situations please refer to the below articles:
Prior Year Adjustments for the Profit and Loss
Prior Year Adjustments for the Balance Sheet