Werder Bremen came from behind to beat Schalke 3-1 with Clemens Fritz impressing at the start of the final few months of his career.