I think a student should try to read as much as possible from EGA and SGA, especially if he is interested in arithmetic geometry. Hartshorne's book is good, but at times he considers only schemes over algebraically closed fields, where he could be more general.