To create a fire, you get five small wooden sticks and a kindling material. So first craft a stone knife, find bushy bushes and cut wood sticks.
Now you need to acquire materials for ignition: it can be gunpowder, brake fluid, paper, rags, and the simplest one that can be created with one stick and a stone knife.
Now combine the item for ignition and five small wooden sticks, and you get a fire, which only remains to light. To do this, find a lighter, which can be in different houses and buildings, as well as on the corpses of enemies. If your search is unsuccessful, you can create a fire yourself - for this, take wooden sticks and a stone knife, and then use the menu to craft.
Finally, go to the inventory menu, select a bonfire and material to ignite, right-click on "Improvised Bonfire" and then click on "Light Fire".