I think you should first ascertain what is the cause, surge protectors may or may not work while Uninterruptible power supply (UPS) and surge protectors can both be expensive. They both wear down after some time so do take note of that.
But as stated, find out why its happening first. It sounds terrible IMO