Hi there. Actually your question is rather vague. Would you like me to tell you where "nearly" will fit the best in the example given? If so, here we go.
"I nearly did not make it on time". Adverbs can modify verbs, adjectives and another adverbs.
"He almost missed Jane as she was passing by him in the airport."
"Despite the fact he was nearly frozen to death, he