I would recommend:
(1) Firstly, one should study field theory and Galois theory fairly thoroughly. The main reasons are:
a. Fields are the best understood examples of commutative rings from an ideal-theoretic point of view (a field has exactly two ideals) and field theory often motivates many important concepts in commutative algebra, e.g., modules (analogue in field theory: vector spaces) and integral extensions (analogue in field theory: algebraic extensions); also polynomial rings over fields are the best understood types of polynomial rings and are one of the main objects of study in algebraic geometry.
b. The applications of commutative algebra to algebraic number theory, for example, is very much based on Galois theory.
(2) Once one has a solid understanding of field theory and Galois theory, one can start learning commutative algebra. There are many good books on commutative algebra at the basic level. I recommend Atiyah and Macdonald's "An Introduction to Commutative Algebra" for the following reasons:
a. The book presents commutative algebra in a very elegant manner. I can assure you that if you read the entire book (~ 130 pages) and do all the exercises, you will have a very solid knowledge of commutative algebra.
b. The exercises are excellent and introduce the reader to many important concepts in commutative algebra not treated in the text, e.g. the spectrum of a ring, affine schemes, faithful flatness, direct limits, Hilbert's Nullstellensatz, Noether's normalization lemma etc. It is highly recommended that one does, or at least looks at, all of the exercises since approximately half of the material in the book is treated in the exercises. Many exercises have hints (which are almost always complete solutions) and thus the book is suitable for self-study.
Unfortunately, I have not read too many other introductory books on commutative algebra. "Algebra: A Graduate Course" by Martin Isaacs is also a good introduction to commutative algebra; however, the book is not one on commutative algebra purely. Similarly, Serge Lang's "Algebra" is also a good introduction.
(3) I think that there are three main choices for commutative algebra reading after Atiyah and Macdonald: "Commutative Algebra" by Hideyuki Matsumura, "Commutative Ring Theory" by Hideyuki Matsumura, and "Commutative Algebra: With a View Toward Algebraic Geometry" by David Eisenbud. Chapter IV of EGA is also a good reference if you are comfortable with the idea of reading French. However, I have not read any of these books (although I will do so soon) and thus I cannot comment further. Note that Matsumura's "Commutative Algebra" has very few exercises.
I hope this helps!