If you are doing a carb-restricted diet with the intent of being in ketosis, you should avoid any carbs right after. The carbs will spike your insulin level to control your blood sugar, stopping your fat burning. Instead, you’ll want to eat something high in fat.
You’ll want to eat protein and carbs if you aren’t on a ketogenic or carb-restricted diet. You’re relying on glucose, which is stored in your muscles and liver, to power your system.
For folks not on a low-carb diet and who want to incorporate something higher in carbohydrates, earning it through exercise and consuming it immediately post-exercise is a great way to approach it.