New poster! (less than 10 posts)

I was driving the car 2 day and when warms up it wont rev past 3k its like its not getting petrol but it will drive fine when cold?????