Seamless transition from free trail to subscription

How can I cancel the free trial and subscribe immediately?