Cannot get access to serial port

Specs: Windows machine (Win10), 64bit
I'm using an arduino mega 2560
I am receiving an error message that states the following:

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Sketch uses 50,824 bytes (20%) of program storage space. Maximum is 253,952 bytes.
Global variables use 2,849 bytes (34%) of dynamic memory, leaving 5,343 bytes for local variables. Maximum is 8,192 bytes.
avrdude: ser_open(): can't open device "\.\COM5": Access is denied.

avrdude: ser_drain(): read error: The handle is invalid.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

I need to know how exactly to gain access to the COM5 serial port. I did check the link that the error message gave me, however, I did not understand exactly what to do anyway.

Please help!!

Thanks!!

Go into device manager and see if the mega is being identified as a com port, and if so, what number has been assigned.