This guide explains how to enable cookies in Safari on an iPhone.
How to Enable Cookies on Your iPhone!
Assuming you've already disabled cookies, it's very easy to enable them again.
Scroll down and tap on Safari.
Tap the switch next to Block all cookies so that it is in the Off position.