Check your ground connections. The LM2596 requires a common ground between input and output. Also, ensure your input voltage is higher than your desired output voltage (step-down principle).