If you are one mistake away from being fired, before that mistake happens, ask your boss or co-workers if there is another department that might be a better match to your strengths. S/he may already be thinking of that very thought.
As painful as admitting you are in a bad fit, the theory being that if you only work on your weaknesses, you will just end up with a lot of semi-strong weaknesses, and not loving what you do. Perhaps you might stay in IT but be in another area which is not so detail oriented. Or get out of IT altogether. Life is long and can be filled with a lot of career moves.
As always, you know yourself best.
This is terrible advice!! Doing this will give the message that you (as well as management) also have no confidence in your work, and that is the last message you want to give. If you have to leave this job, it would be far better to leave on YOUR timetable and not theirs, so again, don't ask them if for a transfer to another department doing different tasks.
If you think you're not suited for IT, then continue with the job, but start looking for other opportunities, and do this without the knowledge of management. Perhaps you might want to go back to school, and if so, keep your job and go part time.
Generatlly speaking, management is often not yorur friend; they have different adgendas.
While you'er on the job, be mindful, and fine tune your personal life in such a way as to support your ability to focus better, and to be mindful. Part of being mindful is growing up, and being mature, and having a sense of importance and urgency in all you do. Have a purpose driven workflow set in reason.