How do i remotely control Arduino Uno using esp8266-01 to turn off/on the relay

pert:
I've deleted your other cross-post @loli_roller.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Thanks for deleting the other post it was posted in the education by mistake and i apologize for it, when i realized it was posted in the wrong section i tried deleting the post it said it got moved to another section.
so i couldn't remove it in time.