Out of USA.But they say i should pay tax.
How can i transfer this money?
If the money is in your friends account, have him transfer the money to the new account outside the US.
If your "friends" has the money you may be out of luck. This is why no one should "submit" money to anyone withou some assurances about how to get it back.