It is not too bad. Try this: I was driving and a bit tired - I wasn't focusing at all. I was about to have a terrible accident, but Ahmed nudged me to wake me up.
I want to ask how to write something in proper English. I was driving and a bit tired - I wasn't focusing at all, so I was about to meet with a terrible accident, but Ahmed let me nudged me to focus and got me off the hook.
I want to say that I was about to meet with a terrible accident but Ahmed told me I was going to hit it so I slowed down.
I wish I had better English, but I work hard to improve it. I'm studying for IGCSE, so I'm only interested in BrE.
I have changed your title, saloom.
You know the guidelines.