When I buy/sell an option, am I stuck with it until expiration?

No, trading options is very flexible.  You can always close/exit the trade before expiration.