It can be used in several ways:
* Differ in something: To be unlike in a specific way.
* Example: "The two paintings differ in their use of color."
* Differ from something: To be unlike something else.
* Example: "Your opinion differs from mine."
* Differ with someone: To disagree with someone.
* Example: "I differ with you on that point."
The word "differ" can also be used as a noun, meaning a difference or distinction.
* Example: "There's a big differ between saying you'll do something and actually doing it."