If you have accepted it from the estate then it would be considered as capital.
If you give it away, that may be regarded as deprivation of capital and potentially fraud.
If you're over pension age you can have up to £10K in capital/savngs before it affects benefits. If you've inherited £500 you've nothing to worry about, enjoy it.