Misfire

My 2006 Cadillac misfires when I attempt to accelerate. Please save me a trip to the dealer. My mechanic does’nt know what to do.
Thanks

Check engine light is on? Get the codes read for free at any chain auto parts store and post them back here. If the light is not on, you have to describe what happens in detail. What do you mean by “misfire”?