I'm having loss of engine power. And burn oil smell. on 1990 Jeep Wrangler

Every time I try give gas to go faster it. It doesn't pick up speed. Or when I try to go up a hill I give gas and does same thing.

Asked by for the 1990 Jeep Wrangler
check for codes and replace fuel filter
Thank you for your answer . Which codes are u refering to? I was told by someone who checked car that it was my catalytic converter cause there's a rattle sound coming from it. They are not professionals but do work on their own. May I have your input on this???