You will need to soak the sprocket-to-shaft joint with penetrating oil (Penetrene or equivalent - don't expect WD40 to do the job) for at least 2 hours, preferably longer, then use a gear puller to remove the sprocket. It will be rusted on to some extent, and it is a puller job even when the parts are new.