ESP8266 doesn't work

Im trying to use my ESP8266 module in my arduino nano, i plugged it in like that: vcc - 3.3V gnd - gnd tx - tx rx - rx(with resistors) the red light turns on but i cant run at commands on it on the arduino software serial monitor. Do i need any program on arduino or plug it in a different way?

or plug it in a different way?

Generally, the TX pin on the Arduino connects to the RX pin on the other device, and vice-versa. What the Arduino Transmits, the other device Receives. What the other device Transmits, the Arduino receives.

which esp you have esp-01, 07, 12 or something else