Try to accumulate more good merits during good times and avoid doing anything bad during your good days.. See the bad times as trial for your previous karmas. most importantly, like some seniors share here, remain positive and count your blessings each day.
when you really have spiritual problems and other manifested problems , praying and asking all the Buddhas for help is erm . . in my honest opinion will not help you or work much especially if your karmic debts and sins or etc are immense whether from the past lives or present life. best is to ask Worldly Dharma Protectors , Maha Bodhisattvas , Theps / Demi Gods , certain deities for help and pray sincerely , do more merits , do more good , avoid all evils and avoid doing or saying bad things.