My car runs good cold after it gets hot wont pass 2thousand rpm on 2004 Nissan Maxima

my car runs nice but after like fifteen min. of driving the engine wont accelerate over 2thousand rpm

Asked by for the 2004 Nissan Maxima
Have an malfunction indicators on, &/ or Flashing? If NOT whats your fuel psi at? Fuel volume test? Possible bad fuel? You could also have a restricted exhaust? Might want to take it to your normal service station and have them inspect your vehicle if your tool arsenal is limited best of wishes.