There are a lot of causes
But without any clues, it’s impossible to narrow down.
For example, have you taken the car to a mechanic?
Are there any engine malfunction warning lamps present?
Does the engine restart?
How long have you owned the car?
Are there any backstories?
The more information you provide will only help your chances.