How do I offer a trial period and then allow them to pick the subscription level?

we have 3 subscription levels and would like to offer a 7 day free trial, after which, they are prompted to choose one of the paid options. how do we do this? And do we require the credit card info up front or after?