Then the GPU is dead. If you bought it brand new, you can RMA it. But if you bought it from 2nd hand market then i doubt the seller would refund your money.
That's the issue with 2nd hand market, you never know if the component actually works and how long it would last. Also, you won't get any warranty with 2nd hand components as well. Only good side about it is component cheap price.
I, personally, would buy only brand new components with the full price. E.g brand new GTX 1050 Ti at $155 may seem quite a bit of money but with it, i have a guarantee that GPU works and if it happens to die, it has warranty as well, so i can RMA it. GTX 1050 Ti at 2nd hand market costs about $86. Sure, it's cheaper than brand new GPU but with no warranty and no guarantee of it actually working. And if GPU is DOA (dead on arrival), i need to hand out another $86 for better luck of the draw in used GPU market. If the 2nd GPU works, i've spent in total of $172 ($17 more than brand new GTX 1050 Ti) to get myself an used GTX 1050 Ti which still doesn't have a warranty. But if 2nd GPU is also DOA, i need to spend more money and time to get a working GPU.