Confusion regarding problem tickets ans deployments

I have a problem ticket that has already been implemented but not yet deployed.

  1. Should the problem ticket remain in “Fix in progress” status until the fix is deployed to the environment where the bug occurred,
  2. OR can I already resolve the problem ticket because it has already been fixed.
  3. OR Should I create a ticket for a known error after the bug has been fixed and then the known error remains open until the fix is deployed?

What is the correct way to handle it?