In the legislative process, when is a bill transferred to the other house?

After it is written.
After it is introduced on the floor.
After a favorable vote on the floor.
After it is sent to the governor.