Transfer music from iPhone to iTunes on computer?

I downloaded a few songs on my iPhone but I forgot how to download them onto iTunes on my computer without purchasing them again. The idiots on the apple forums are of no help.

I know for sure there's a website that does this for you cuz i've done it before.
Google "transfer music from my phone to itunes" &i'm sure you'll find something! & if it requires download, just uninstall after your done! Whatever it takes to get the job done. Just don't go to some sketchy website.

Just visit this page-->discussions.apple.com/thread/2452…

Log into your Apple account on iTunes and you can download at no extra charge.