Hi in general I suggest to get an understanding:
a) Have a more experienced player of the opening explain it to you. (Similar to a good book I guess)
b) Practice playing the opening. If you think a move that isnt theory is good, try it out and see how you go. (often this has taught me why the other moves are played).
c) Go through master games that have played the opening. See the way they play the different variations.
Over time you will understand why the moves are played the way they are, due to the countless variations you can spend a lifetime learning an opening well. The more experience you have with it, the more and more you will understand the ideas.
goodluck!
I'm confused about how a chess player understands an opening. For example, take the Nimzo-Indian. How do you understand the plans for each variation and what to do? Is it all explained in a book or do you have to sift through master-games in that variation or do you come up with a plan by yourself? It seems like I can memorize the theory, but I can't understand the plans behind an opening and what I'm supposed to do. How do I understand the plans behind an opening? Thank you.