The trick here is not only to avoid all obvious sources of carbohydrate (sweets, bread, spaghetti, rice, potatoes), but also to be careful with your protein intake. If you eat large amounts of meat, eggs and the like, the excess protein will be converted into glucose in your body. Large amounts of protein can also raise your insulin levels somewhat. This compromises optimal ketosis.
Where diets can complicate life, intermittent fasting may simplify it. Where diets can be expensive, intermittent fasting can be free. Where diets can take time, fasting saves time. Where diets may be limited in their availability, fasting is available anywhere. And as discussed earlier, fasting is a potentially powerful method for lowering insulin and decreasing body weight.
So as you're planning new weight-loss-related lifestyle changes, make a plan to address other stresses in your life first, such as financial problems or relationship conflicts. While these stresses may never go away completely, managing them better should improve your ability to focus on achieving a healthier lifestyle. Once you're ready to launch your weight-loss plan, set a start date and then — start.