To prevent the potatoes from sticking to the baking dish, make sure to grease the baking dish well with nonstick cooking spray. Additionally, make sure that all of the ingredients are evenly distributed and pressed down gently into the pan for even baking. This will ensure that your potato kugel comes out perfectly every time!