Back fired now it won't stay idling.. And no brakes ? on 1999 Volkswagen Beetle

Went to start it and it back fired through the engine...
Now it won't stay idling. And No brakes.

Asked by for the 1999 Volkswagen Beetle
Check your vacuum system, possibly blew a hose off when it backfired.