Import a PGN file to where? Do you mean chess.com?
The way you create a PGN file is simple, you create it in a normal text editor such as notepad and when you go to save change the save type to "All Files", and name the file "yourfile.PGN".
Hope this helps
A
how does one import a pgn file of a game and analyse it for errors? sorry if this has been covered already? thanks.