If you have to transition from a male threaded pipe to plastic, you should use a galvanizedcoupling to create a female connection. Glue a pipe into the other end if you want to run the rest of your pipe system.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.