My 97 Civic is down on power and it doesn't shift gears as it should. Any ideas? on 1997 Honda Civic

it seems to be worse after it has run a while and has warmed up.

Asked by for the 1997 Honda Civic
Is it a V-TEC 1.6? When was last oil change and is the check engine light on or have you noticed the 'D' light flashing at all?
it is a V-TEC. Oil has been changed regularly and no flashing lights.
Possible restriction in exhaust. Best would be to have it scanned when the symptoms are present, especially if there is no check engine light.