Do women only have a certain number of eggs?

I heard that women only have have a certain number of eggs their body will make. When they are done their periods stop. Is this true? I was on medication that cause me to produce many eggs at once. Does that mean I will stop my period sooner than most ladies?
Update: I am only 22 so I have awhile to go lol
But I was an egg donor for several cycles and produced tons of eggs
11 answers 11