Help with Samsung refrigerator

I have a Samsung refrigerator that has been acting up for a day, and before I order a part I wanna see if anyone has experience with these or knows more than I do. Yesterday we had 2 power surges and it hasn’t been working right since. The compressor and the fan don’t come on unless I unplug it and plug it back in about 20 times. It seems like it gets to temperature when it resets and then doesn’t come back on at all. When I do plug it in, all the lights work and you can hear the ice makers clicking and turning on with no action from the compressor. I don’t get any code on the front panel, but I noticed when it doesn’t turn on I get 2 flashing lights on the board. Before I order a new bored I just wanna see if anyone thinks it is something else.

Any help is appreciated