Unfairly has 2 different meanings across 1 category:
Adverb
in an unfair manner
"they dealt with him unfairly"
"their accusations hit below the belt"
In a manner that is unfair.
"The referee was unfairly penalized our team for a foul that never happened."