A car has flipped in a crash in Oamaru, trapping and seriously injuring one person.