Both are correct. Yoe wouldn't use the first variant when adressing a friend. Usage of Du / Sie in German is basically the same as ты / вы in Russian(if my judgement of Russian usage is corret). But...