Brand new car has oil leak

Not all new cars are infallible. They’re production line items and a certain number of anything is going to have a few problems.

If this is engine oil then I would say the first thing to do is pop the hood and check the oil level. After that, assuming the oil level is fine, is take it back. That’s what warranty is for.