Riding in an Uber isn't any more dangerous than driving yourself or riding with your parents or taking a taxi (well, actually probably safer than driving yourself at 18). Do the same things that you would normally do to stay safe while approaching the vehicle, while on the road, and when leaving the vehicle.