The F major chord is constructed from the F major scale. When the major chord formula is applied to the F major scale, it can be seen that the F chord contains the notes F, A and C.
Play the three notes of the F chord with the first, third, and fifth fingers of your right hand, individually, and then together as shown in the next example.
Once you are comfortable with the F chord, try combining it with G and C.
Here are some keyboard parts making use of the chords C, F and G.