How can I separate the wheel hubs from the drums?

Never knew that at all always pressed them out. and yes the old drum usually was toast afterwards. Thanks!