How to make a fire resistance potion in Minecraft?

A water bottle and a nether wart are required to manufacture a fire resistance potion in Minecraft, which is then combined with magma cream in a brewing stand. To defend the player from fire and lava, fire resistance potions can be utilized.