Hi, what is the difference between в (when used as meaning "to") and к ?

when would I use к ?