There is no best time to sign up for race however races are always good motivations to keep up training. If its your first race I would sign up for a race in 4-6months and train with a group or follow an online program to make sure you do no get hurt.