you may simply have good luck and only have an infected razor bump but dimples are a symptom of cancer and it's better to be safe than sorry. i would advise you follow steps to go IMMEDIATELY to a surgeon.
Aspirin/tylenol and ice? Maybe you should call your doctor now.
Hope you get help soon and feel better.