exactly in the same way English uses the words "very" and "much", where "very/muy" is an adverb and describes a verb and in Spanish (as well as many other languages) the adverb does not take the noun ending, ie: it always stays "muy" regardless of the situation it is describing, whereas mucho/much" is an adjective and describes nouns and takes the adjectival ending of the noun it is describing, ie: mucho tiempo/muchas cosas etc, because it is an adjective, but if this is too complicated and you understand how English works then just follow "muy" for "very" and "mucho" for "much" this will work :)
Keep up the good work