by: in the sense of at the latest - I will be back by 6 o’clock.
in: months / seasons - in August / in winter
time of the day - in the morning
year - in 2006
after a certain period of time - in an hour
on: days of the week - on Monday
for: over a certain period of time (past till now) - for 2 years