It depends on how you want to do it.
If you are using some GUI tool, there is most likely an “import” option you can use.
Here is an article that shows a way to do it without such a tool:
Import CSV File Into PosgreSQL Table
Register Hereor login if you are already a member