Use "for" for
Period of time (you use "to" for what time it is)
Schedule
Doing something to help someone
(Could you carry these books for me?)
Reason – with noun
(Let’s go out for a drink.)
Function – with verb (-ing form)
(A ladle is a big spoon used for serving soup.)
Sorry it's long, I hope it helped