Tackling small fires is fine, provided you are cautious and have a clear escape route. If you would need to put yourself in a compromised position, such as having the fire between you and your escape route, then you should not attempt to fight the fire. If you don’t have the right type of fire extinguisher for the fire, or it has started to spread, then do not try to extinguish the fire and priorities evacuation.
v