Welcome

. Go to Autozone or Advance and get the Check Engine light (yellow light on instrument panel) codes read (free service). Then post the exact codes.
It could be a bad fuel pump. Is it worse when the fuel is low in the gas tank? A fuel pressure test should confirm that.