Bash scripting… “if -eq” or “if ==”, when to use each one

Describe the different scenerios using the operator -eq and the operator ==.