To prevent the hash browns from sticking, make sure to lightly grease the air fryer basket or tray with a small amount of oil or cooking spray before adding the potatoes. Additionally, avoid overcrowding the basket, as this can cause the hash browns to stick together.