The correct answer is 'would buy'. This is a type 2 conditional sentence. In a type 2 conditional sentence, we use 'would' + the base form of the verb in the result clause. Therefore, the correct sentence is: 'If I were you, I would buy some milk.'
would buy