There are many culprits that can be causing this, but without knowing your full medical history, it is hard to give you the strongest answer. However, sudden onset insomnia tends to be due to new stress, anxiety, depression, or other psychological issues. Use or abuse of certain illicit stimulant drugs can also lead to prolonged insomnia.
When we go without sleep for an extended period of time, it is a very serious medical condition. Only a small amount of days (7-10 for most people) can be fatal, therefore it is very important to see a doctor.
During these periods of low levels of sleep it is not uncommon to have visual and auditory hallucinations, feel that reality is altered, or feel as if you are in a dreamlike state. This could lead to impaired judgment and impaired ability to operate a vehicle. You can also experience brief periods of second or minutes where you might get microsleep and lose track of that time time.
The bot***** *****ne: If there is something you are doing or taking that you know is causing this lack of sleep, stop doing or taking it immediately. If you have no idea how this started, you should see a doctor immediately as this could be a symptom of a much bigger issue that I cannot diagnose without knowing and speaking with you personally.
I hope this is helpful!