I want to know how Ican closed ports ftp-21\http-80\and ports 23\25\79\143\443

I hope to see answer soon