You can read up on signature scripts on photoshop actions. Check out GOOGLE.
You can do it manually using a brush, but it's tedious and you may not get it at the correct spot all the time. Thus having an automated script will get it at the right spot all the time.