You can't, not with futures. If you want to limit your risk then you can always involve other products (options)
You make or lose money.
The farmer situation is different. If the farmer has a field of corn growing and wants to lock in the current market price he sells a future corn contract...