To win someone over means to make someone on your side or to prefer/like you. For example, if you won someone over to your team, it means that you were able to convince them to join your side.
Ex: I won my boss over through good performance at work.
Ex: I won over the girl I liked by being nice to her and helping her with her studies.