And, with

~과 (consonant) ~와 (vowel)

나는 사과와 바나나를 샀어 – I bought apples and bananas
저는 술과 담배를 좋아해요 – I like smoking and drinking
저는 한국말과 일본말을 배웠어요 – I learned Korean and Japanese

나는 친구와 갔어 – I went with my friend
선생님은 학생들과 박물관에 갔다 – The teacher went to the museum with the students
나는 철수와 같이 살아 – I live with Chul Su
친구와 영화 보러 갈 거예요 – I am going to see a movie with my friend

함께 – together, along with

저는 선생님과 함께 공부했어요 – I studied with my teacher
저는 여자 친구와 함께 영화를 봤어요 – I watched a movie with my girlfriend

같이 – together, along with

나는 친구랑 같이 있어 – I’m with my friend

~(이)랑 

나는 인천이랑 서울에 갈 거에 – I will go to Seoul and Incheon
한국인이랑 미국인은 눈 색깔이 달라요 – Korean and American have different colour eyes
우유랑 빵 샀어요 – I bought milk and bread. 

저는 밥을 친구랑(and) 저의 어머니랑(with) 먹었어요 – I ate (rice) with my mom and my friend
나는 아버지랑 공원에 갈 거야 – I will go to the park with my dad
저는 존이랑 여행 갔어요 – I traveled with John
저는 미영 씨랑 영화보러 갈 거예요 – I’m going to go see a movie with MiYoung
너랑 있고 싶어 – I want to be with you

누구랑 (같이) 갔어요? – who did you go (together) with?

~하고 

이거하고 이거 주세요 – give me this and that. 
친고하고 (같이) 영화 봤어요 – saw a movie (together) with a friend.