The price appears in the model

I want to ask if there is a problem with the price term appearing in my linearization model, whether I should remove the price term by changing it to the inflation rate or the real variable.

There is no general answer. Often, price levels have a unit root. At first order that is typically unproblematic.