For Airbus pilots
Dual FMGS failure need not be all of this. FMGS has two parts the FM part and the FG part. Try to engage the Auto pilot and ATHR if the FG is still available it will engage. If both have failed then try manual reset, if it doesn't work then if equipped with BACK UP NAV select that you have flight plan and some limited functions.