How do I change my behavior to be on good terms with someone?
What is making you want to change for them?
I'm in a bad state right now, I want to do some things for him so he will accept me in the future
I love that you are wanting to become a better person! I think that it is admirable as long as you are doing it for the right reasons.
I just want to be accepted. Right now he really dislikes me.
Well if you are making these changes for the right reasons, then I support you. Trying to become a better person is always a good thing and I think that's awesome. I hope it works out for you.