If the question in the IELTS Writing test asks you to discuss both views, then try to give equal weight to both sides. If the question asks if you agree, you do not have to give an opposing view.