Before and after. Again as a serial defaulter the IMF and whatever other funding you can get, including China's loans, are not optional. It is either that or total collapse.
It is like a drug, and the only way out is fiscal responsibility until you can repay those loans and not ask for more, because you can fund yourself or get regular funding in the markets.