How do you keep the heat from a fire inside a primitive shelter?
Build a stone wall behind the fire so that the exposed side of the fire is still facing you, this will reflect the heat back into the shelter.
Dig a hole in the middle of your shelter so that the heat will rise and keep the heat in the shelter instead of drifting into the wind.