Childbirth classes:: when should you go?

As

Currently 26 weeks, first baby.. when is it best to sign up for a childbirth class? They are offered through the hospital where we plan to deliver, but don’t want to go too early or wait too late 😂🤦🏼‍♀️