Collins Dictionary gave the following rules that will help us learn how to use Correct vs Correctly.
“Correct” is an adjective which means “it is in accordance with the facts and has no mistakes.”
Ex. The correct answers can be found at the bottom of page 8.
“Correctly” is an adverb that is synonymous to “perfectly.”
Ex. Did I pronounce your name correctly?