So I bought my car frm a dealer ship had it for about 2 weeks and the sold it to me as is and today was on the way goin to get an oil change cause my low check oil light popped up then all of a sudden my STOP! CHECK OIL PRESSURE popped up so I pulled over and car automatically shuts off and oil was bone dry cause it leaked out all over the ground wht can be the problems. Before I bought it they said they replaced the oil pan gasket but a week into it I seen oil on the back window amd didn't think nothing of it

Need help please!! I paid 13+ from the dealer ship and its my first car off the lot