Yes, the Fire Bolt spell is a cantrip in D&D 5e, which means you can cast Fire Bolt whenever without needing a spell slot. In combat, Fire Bolt costs one action. A spellcaster can ready this cantrip in response to a trigger.