How do you pay homage to a story or various stories you like without plagiarizing them?

I would love to know your methods.