Sleep mode? How do I disable it? it keeps turning on.

Where is the sleep mode setting? and how do i keep it from turning on?