Emotional blackmailing

So I noticed how I do nice things for my boyfriend and then when we have a fight I hold it against him. And I don’t like the part of me!
Its like I do something nice for him what I really want and then as soon as we have a fight or he says something I don’t like I come up with things I did for him to make him feel bad.

Thanks for helping to stop this