Repair my truck

My truck has just began quiting while I’m in the process of driving,I call a towing service and have it towed to whereever and it will start and run til the next time I’m on the road and it has qiut again,have it towed and have no difficulty in getting it to start…flustrated,where do I began?