When talking about doing things with a friend, put the ‘with my friend’ after the action.

Examples:

I with my friend went to the swimming pool. (not correct)
I went to the swimming pool with my friend. (correct)

He with his friends will go to Korea. (not correct)
He will go to Korea with his friends. (correct)

However, if using ‘and’, put the two people together. In English, it is usual to use ‘…and I’, not ‘I and…’

Examples:

I and he ate all the food. (not correct)
He and I ate all the food. (correct)

I and my friend are going to Mexico next year. (not correct)
My friend and I are going to Mexico next year. (correct)