You can buy Potions and Food from the Trading Post but crafting them yourself is more economical. To do this, open your menu, access the Skill button then go to the Production tab. From here, you can select whether you want to craft a Potion or Food. Select the item you want to produce then tap the Make button in the lower-middle portion of the screen.
This will consume Energy (blue potion bottle) which you can earn daily from events or quests. You can also purchase this from the Assistant Shop for 100 AP (Assist Points) each. However, there’s a weekly limit of 10 Energy Potions that you can buy using the latter method.
You can craft better potions and food by upgrading your Production Skills, which you can do also on the same screen.
We have questions and answers related to this topic which may also help you: