Wordplay exploiting different meanings of a word or differences between two words that sound alike but have different meanings.
“Owls are a real hoot.”
Often qualified by adding “no pun intended” or “pun intended.”
Don’t. If you didn’t intend a pun, choose another word. If you did, don’t advertise it.