The best way to score a 5 in your AP exam is purely practice. Additionally, you can go through review books which give you summaries of the subject concepts. Once your initial review is done, you can go ahead and practice exam style questions and old exam papers. This will allow you to assess your strengths and weaknesses thus giving you an idea as to where you need to study more.