how long does a papsmear take ?

im scared never had one before! Does it hurt????? Will they check me if i can't have any kids???? Or if my ovaries and everything is good inside ?