Wiring a ceiling fan with a light kit
If you don't have separate wall switches for the fan and light, or aren't using a remote, the blue gets attached with the two blacks. 

In this case you must use the pull chains to control the light and fan separately. Other than a remote there is no way to control them separately.