When a method cannot do its job, it throws an exception: throw new ArgumentOutOfRangeException(nameof(nights));. The exception travels up the call stack until a try block with a matching catch handles it; if nothing does, the program stops.
Throw the most specific built-in type that fits: ArgumentException (and its children ArgumentNullException and ArgumentOutOfRangeException) for bad input, InvalidOperationException when the object is in the wrong state for the call. .NET 8 added one-line guards such as ArgumentException.ThrowIfNullOrWhiteSpace(name).
Catch only the types you can do something about and let the rest travel on. A when filter narrows a catch further: catch (FeedException e) when (e.StatusCode == 503). Inside a catch, throw; rethrows the same exception with its original stack trace. A finally block runs whether the try succeeded or threw, which makes it the place for cleanup.
Exceptions are for the unexpected. When failure is normal, such as a user typing a bad number, prefer TryParse and a return value.
A try block with one specific catch, and a finally block that runs whether parsing worked or not.