LHCb: From the detector to the first physics results