I agree that you should get an attorney. Perhaps it is still possible for you to take the plea agreement? Your attorney can find out for you.
I know it feels like the end of the world, but I promise you, it isn't. It will take time and cost quite a bit of money to get through it, but you will get through it. (((HUGS)))