Questions regarding F-chord are probably the most asked questions on this forum.
Just a tip for future questions: Try using the search-function on this forum (the small red bar with control panel, FAQ, search etc.) There are a lot of subjects that already have answered forumthreads.
Anyway, regarding your question:
Check out this exentisive thread on the barre chords and F-chord: http://www.guitartricks.com/forum/showthread.php?t=31247
This is also usually a video I recommend regarding this subject:
http://www.youtube.com/watch?v=-uJP2rWbMig
Above all it takes a lot of practice and patience to build up the necessary strengh for your finger to hold the bar without muting any of the strings. It took me more than a year to be able to play the F-chord well. When you are just starting out you probably won't be able to play it perfectly in the first month when playing a song or other chord progression.
Hope that helps.
JJ