How to apply patches? I have installed Drupal 7 in FTP server. I am trying to apply a Drupal patch.

I did see many links online but no one shows how to do it while Drupal is in FTP server of the hosting account. I think there are many ways I can do it. One way would be to get the Net Beans. I am not sure whether I need to install Net Beans in FTP server first or install to my local machine.

If you could provide some details for beginner, it would be helpful.
If you're on UNIX based system (e.g. MacOSX, various Linux distros), the patch utility is a great tool here. I typically use the command: 

patch -p1 &lt; patch-file.patch


With the -p1 option being important for installs already under a git repo.

It sounds like your use case is a bit different though. drupal.org has a good documentation page for applying patches in various environments.