Psalm 73:26 (NIV)
26 My flesh and my heart may fail,
.....but God is the strength of my heart
.....and my portion forever.
The first and greatest priority of each day is committing the day unto the Lord. Our chief end in life is to "glorify and enjoy Him forever." It is only by the power of the Holy Spirit that we are able to do that. Rise in the morning and make prayer and reading God's word the first priority of the day. Seek Him, His wisdom, and His strength to carry you through the day so that all that is done may be pleasing in His sight.
When things begin to go wrong because they are not going your way, nip the frustration in the bud and immediately get down on your knees and ask for the Lord's help.
When you have already lost it, don't beat yourself up. Remember that Jesus Christ forgives sin. Get back up, seek forgiveness from the Lord, and seek His help to continue on in righteousness.