I have an Imprezza 2000 Model Hatchback. It just stops on the road any time. on 2000 Subaru Impreza

It shows check engine and stops on its own, have to start it and it will move and stop again, until three starts then it runs. There is a feeling of misfiring. Sometimes when the fuel is low, it just stops any time. Sometimes it runs very smoothly, but sometimes, it just stops. There is a smell of burning oil when the cars is stationery. Please advise

Asked by for the 2000 Subaru Impreza
start with fuel pressure test. have the code pulled and get back to us with the code number.

How do I do fuel pressure test?. Thanks for your quick response to my questions.....