I would try to figure out why he or she didn't like me, then try to avoid doing the things I think are setting them off. I would also try to just keep my head down, work hard, and accept that sometimes it takes people a while to come around to you.
Other times, personalities just clash. If it gets really bad, evaluate your options. If they are being truly unfair to you, or are doing anything inappropriate, you can report them to their superior.
Of course, if you do that, there could be further consequences.