Code p0171

My car will start right up in the morning. I drive in for 20 miles or so turn it off go in the store and come back out and it wont start for and hour or so. It seems to be worse when the outside temp is warmer.