The assembly instructions for IKEA products will specify if they're a “Secure It” item that requires being secured to the wall or not.
This will be communicated in the initial warning language in the instructions, as well as within the illustrated assembly graphics. In general, you can expect that most wardrobes, bookcases, tall shelves, chest of drawers, and cabinets will need to be affixed to the wall.