mercedes A150 56 Reg

The problem with this car is that it doesn’t start when it gets hot. When the ignition is turned on it gives a hick sound but doesn’t run and as it cools down a bit when left about 20 minutes, then it starts.