2003 Toyota Corolla loses power climbing hills

It looses power climbing hill and also reduce in acceleration while I drive on it’s own especially after driving for a while

No CEL?
Your fuel pump may be starting to fail.
You can simply tell your mechanic the symptoms and let them diagnosis it or you could request they check the fuel pressure and go from there.