Gern geschehen means “My pleasure” and is used when you want to express that you were happy to help. It’s polite and slightly more formal.