Preferably, freeze after you've filled the potatoes but before covering them in cheese and baking. However, it's fine to freeze and reheat already double-baked potatoes.