You may also have to moderate protein intake somewhat, as high protein intake (greater than 2.0g/kg/d) may make it more difficult to maintain ketosis. However, eating too little protein may also present health issues such as poor muscle development, increased hunger, and lack of essential amino acids. That is why we recommend a moderate level of protein intake, defined as 1.2-1.7g/kg/d. See our protein guide.
While macros will differ a little from person to person, the general rule of thumb for keto is to keep carbohydrates under 5% of your daily caloric intake. As long as you avoid the foods mentioned above, you should be fine. Google “TDEE calculator” if you need some additional guidance on how many calories to eat. I’ve had success following this way of eating as it allows me to eat foods that taste great. There are tons of resources online as well if you need additional guidance. A quick google search should turn up a ton of resources. Hope this helps!