If it’s a second or third baby you might just need a one day refresher course, otherwise classes can be weekly over a period of 8 weeks starting 8-10 weeks before your due date.
Check with your booking hospital as they are often free of charge there or they will recommend private instructors that are familiar with your hospital and convenient to where you live.