If it's recently new, Lidl, Aldi and similar shops tend to have quite generous warranties, possibly 3 years. I'd be tempted to take it back if this is the case.
If it does exactly! the same pattern of starting, then cutting out every time, I'd say it's more a controller fault (if it has one). Parts for Parkside tools don't seem to be readily available.
If intermittent or the run/stop action is not exactly the same very time, then as others have said, check the brushes and holders.
If it has a wound field coil, check where the ends of the coils are terminated into spade connectors. These enamelled wires can sometimes burn out but may still appear to be connected. Not always obvious.
If it has a permanent magnet field, check that the magnets are secured to their outer sleeve, they sometimes become loose.
Also check the battery connector has good connections, no loose spades or broken solder joints inside heat-shrink.
Ed.