How many sessions you choose to do with a personal trainer is a choice you can make as you go. Starting with about 12 sessions will give you a very good basis for learning a variety of exercises and programming. However, there is no reason to stop using a personal trainer as your programming should adapt over time and a trainer will know how to do that.