GOOD — adjective, describes a noun. WELL — adverb, describes a verb. WELL can also mean healthy.
She speaks English very well.
Use the adverb WELL to describe how an action is performed; since 'speaks' is a verb showing an action, you need the adverb WELL to describe it properly.
He's a good cook.
Use the adjective GOOD to describe a noun; 'cook' is a noun (a person), so GOOD describes what kind of cook he is.
You did really well!
Use the adverb WELL to describe how an action was done; 'did' is a verb, so WELL modifies this action to show the quality of performance.
This soup smells good.
After linking verbs like 'smells', use the adjective GOOD because linking verbs connect the subject to a description of the noun itself, not an action; 'good' describes the soup, not the smelling action.
She doesn't feel well today.
Although WELL is normally an adverb, use WELL after 'feel' when describing health or physical condition; 'feel well' is a special expression meaning 'be healthy'.
He plays the guitar well.
Use the adverb WELL to describe how the action of playing is done; 'plays' is a verb showing an action, so WELL describes the quality of that action.
That's a good idea!
Use the adjective GOOD to describe a noun; 'idea' is a noun, so GOOD describes what kind of idea it is.
The team performed well last night.
Use the adverb WELL to describe how an action was performed; 'performed' is a verb showing an action, so WELL modifies it to show the quality of the performance.
Her English is very good.
Use the adjective GOOD to describe the noun 'English'; 'is' is a linking verb, so the adjective GOOD describes the noun that follows.
I know him quite well.
Use the adverb WELL to describe how an action is done; 'know' is a verb showing an action, so WELL modifies it to describe how well or thoroughly you know someone.