To win someone's good side will depend on what you did on their bad side. Treat them right and always make promises you can keep.Try to apologize when you wrong them and make sure you don't repeat that mistake.
Be sincere, honest,caring, thoughtful, helpful, nice to be around. People can spot phony. If you did something that caused problems you need to have a long talk on how you are going to turn this around.
I am not sure what that means exactly .. But if you are referring to getting someone to like you, then you just have to be yourself, and trust they will respond. However, if you are asking how to "manipulate" someone into liking you ... Then you need to be as phony as baloney and hope they will fall for it.