Where can I find the apple time machine?

Well I'm trying to get back my history I've deleted on safari I have a iPhone 4 and its almost impossible to do but everywhere I go says to get time machine how do I get that ps. It's not in the apple store so… Help me out how can I retrive my files

Time Machine should be under System Preferences. Hopefully you have turned it on before this happened.

Finder
Applications
Time Machine