How to invest in gold stocks and avoid the pitfalls