How do I run/execute a automated TestNG script using Selenium RC?

Can anyone please guide on how can i run a automated TestNG scripts using Selenium RC

Selenium RC was deprecated ages ago. You need to migrate to Selenium Webdriver. Find a well-rated course on Udemy.com.