A time signature sits right after the clef and is written as two stacked numbers: the top number is how many beats go in each bar, the bottom number is which note value counts as one beat.
The demo below draws the four most common signatures, from top to bottom: 2/4, 3/4, 4/4 and 6/8.
2/4 and 3/4 count a quarter note as one beat; 6/8 counts an eighth note as one beat, so its six beats group into threes.