Depends on how old it is and what kind of stain. If it is an oil based stain try rubbing with mineral spirits. If it is latex try good old soap and water. Both require a lot of elbow grease! If that doesn’t work try Goo Gone. Last resort would be to scrap with a razor scraper, but be very careful as this can scratch the glass if there is any kind of burr on the blade!