It doesn’t work anymore.

Hello, my friend has a Reno Clio Bj. 96. And the problem is when she comes home from work(2km) or school(30km) and then goes shopping(1-2km) then the car doesn’t start when she wants to go home. Sometimes it doesn’t work even when she comes from work and has to go somewhere. ALso that’s usually so when the car drives little and then 5-20 min stands sometimes no longer. Not even starter.. I can find no logic. And then after a few hours it starts normal.. At the car nothing was done, nothing changed, battery is only 6 months old.. What is the problem??