How should we relate with God?

Our focus is on Psalm 77. When faced with a difficult period, where it feels like God is not responsive to prayer, what should you do? Should we complain about what seems, at least to us, as God`s non-response? The Psalmist starts from verse 1 until verse 9 to flirt with complaints. He however starts verse 10 on a different tune. Rather than complain about the current situation, he REMEMBERS. God has done a lot for us to be relegated to a non-caring God because of a dark season. If he could do it before, why wouldn’t he do it again? Does he change and become what he is not? Selah.