You earn the premium of every option sold, net of the protocol fee, and you pay every option that wins. Shares can lose value.