For individuals with stable blood glucose levels and good glycemic control, the HbA1c test should be performed at least twice a year. For those with unstable glucose levels or who are changing their treatment plan, the test should be conducted every three months.