Control what programmes start up when i turn on my computer?

For example, i have two messenger programmes and they both start up when i turn on my computer, and it really slows things down.

I'm sure there's a way to turn off what programmes start up but i've forgotten where it is.

I know it sounds like a completely stupid question, but there you go.