How can a person get a sense of humor?

You have a few options.

1. Smoke a lot of weed.

2. If you don't find what others find funny, to be funny, then explore the darker side of humor. :)