heater hose connection

Ok I have a question my car has a heater control valve so is that the hot side or cold side. In other words does it come out of head into heater core then control valve or does it come out of head into control valve the heater core.