1998 honda accord v6 3.0?

When i get out my house the car drives fine and couples of minutes when i press on gas the car dosent go then accerlarates really quick i changed the tranmission fluid oh and it has the check engine light on

Did you find out the code or codes for the check engine light? How old are your spark plugs?