You are trying to use the UNO’s single hardware serial port for two different things (communicating with the ESP-01 via AT commands and for serial debugging) at the same time.
You can’t do this, because the two types of messages confuse things.
You may also be communicating with the ESP-01 at the wrong baud rate, and you may not even have AT firmware running on your ESP-01, it’s impossible to tell from the information you’ve provided.
You should read this for more info on this hardware combination…
But the best advice is really to dump the Uno and ESP-01 and use an IoT capable device with sufficient pins, such as a NodeMCU or ESP32.
Pete.