What to do if you have a troubled relation with your postdoc supervisor?
From your comments it sounds like a Setup-to-fail syndrome. https://en.wikipedia.org/wiki/Setting_up_to_fail

The Wiki article is a bit iffy, but it basically means that he somewhat has low expectations of your performance after some incident. Thereby, when something happens he assumes is your fault because he has low expectations nevertheless.

Is usually a toxic relationship because is self fulfilling (you'll end up making mistakes, because he wants to) and self reinforcing (the mistake you just did helps him reinforce the idea that you'll make more).

Is a vicious circle that has to be addressed by both you and your boss (PI, manager, etc). But is usually a good idea to have some other people on your side.

Ultimately, if he is unwilling to change, it is better for you to leave for a less toxic environment.