What bike?
With the petcock in the On position, fuel should run out until the tank is almost empty, then stop. If you then switch to the Reserve position, most of the rest should flow out.
Sounds to me like you've goe sediment in the bottom of the tank that's clogging up the petcock.
Is your petcock like the one pictured? If so remove the sediment bowl and see if the screen is plugged again. If so keep flushing the tank until you get all the crap out of the bottom, then use a flashlight to inspect the inside of the tank to see if it's rusting up inside and releasing crap into the gas.
mystic_1