It also depends on the track. You shouldn't head out to a supercross style track a day after you learn how to ride.
As long as you can control throttle, brakes, steering, balance, and shifting with brainspace left to think about the changing terrain and obstacles in front of you, you should be okay.
When you do go to the track for the first time, if you haven't ridden for very long, don't expect to be railing berms and hucking huge doubles. take it easy!!! Hold your line and don't ride all over the track. Other riders will be passing you. if you want to know more about your first time at the track, just do a search. There are loooooots of threads with the same topic.