Use Esp8266 to provide internet to my uno.

I have connected my esp to the Uno. I have connected it to my router using AT commands. I want to know how can I use ESP to provide internet to my UNo. I want to use The Esp as an wifi shield for my uno. Please help!