Here's an image I found on
Google. Right side is threaded fixed. Notice how there are two sets of threads. The bottom is for the cog, it is standard right-hand threads. The smaller threads are for the lockring.
Left side is for a freewheel. One set of threads.