Moderator: igrr
Serial1.begin(115200);
In short, to use AT commands you connect your ESP to a computer, run a terminal program like PuTTY and enter the AT commands on the command-prompt.
For reference (there are hundreds of them), you can follow a guide like on this website.