There are a few different types of glue that work well on magnets. One type of glue is a cyanoacrylate adhesive, which is also known as super glue. This type of glue works well on most surfaces, including metal and plastic. Another type of glue that works well on magnets is an epoxy adhesive. This type of glue is stronger than super glue and can withstand more heat and stress.