Using books can help and it depends on your learning style - how effective you are at retaining the concepts and strategies learned in the book. If you did not do any preparation beforehand, then certainly preparation with some study material should help you improve. Keep in mind some people do retake the exam but score lower. Make sure you understand what you're doing differently this time around and apply a new strategy going into your retake.
Is there a specific section you are weak in? If so, develop new strategies here.
Do you need more practice? If so, try some more practice questions.
If you take the IR section before? If not, try some IR questions here
... and more
What's Inside GMAT Pill?
Zeke Lee, GMAT Pill Study Method (Study Less. Score More.)
GMAT Pill Reviews | GMAT PILL Free Practice Test