The same thing happened to me. I had around 1.2 Trillion I cautiously bought some stuff the could of cost 200 billion at most then a few hours later I was in debt 400 billion so
One common mistake newer players make is they don't take quality into account when ordering something. If you buy e.g. 200B worth interceptors and ask for 330 quality, then in fact you'll pay 660B and not 200B. If you don't ask for specific quality the game usually orders something around 200 and you may pay around 400B in this example. Not saying this is the case, just thought it might help some...