Please list your full system specs in order for people to help you.
Without knowing anything about your system, I can only ask, have you provided power to your graphics card? Just inserting it in the PCI Express slot won't make it magically work, it needs power. Either 6 pin or 8 pin, unless you have something like 1050 Ti low profile ones, that don't have any power plugs and draw power from the Express slot.
Also, try and see if your cables work on integrated graphics by plugging an HDMI or other connector to your motherboard to rule out faulty cables (that is, if your processor has an iGPU).