For cotton and polyester: Using a dull knife, scrape off dried glue. Use glycerin to loosen up remaining residue and scrape off. Rub liquid dish soap, such as Dawn, into any remaining stain and machine wash.
For washable silk and wool: Same as for cotton and polyester, but take to a dry cleaner if stain remains.