The Spirit of Discernment or the spirit of criticism?

Are we walking in the Holy Spirit gift of discernment or are we criticizing?