Drill pilot holes the depth of the screws first. MDF is nothing more than compressed paper and glue, and if you try to force feed screws into it, it'll just roll up and they won't have much holding strength.