Dog is 11 year old blue heeler /husky mix why is he doing this ?!!!

Sits for a second then gets up fast twirls in a circle then sits... now staring at the wall