Participating on a well

If you participate on a well and the oil company decides to drill another well and you don’t want to participate, how is your decimal figured?