Where can the premium received from option selling be used?

The premium that you receive for writing options can only be used for another F&O trade and cannot be used for buying equity shares.