If your ear really hurts and you can't hear well, you could have an ear infection. Congestion from a common cold can also cause ear pain. In either case, you need to call your doctor to find the cause of your ear pain.
You may need an antibiotic or pain-relieving medication for the earache. Ear infections are not contagious. However, if you have cold symptoms along with an earache, you are likely contagious for the first two to three days.
Be on the lookout for pinkeye.