Instead of a primary care doctor, you need to see a podiatrist. But a primary care would be acceptable. Foot infections are dangerous because oral antibiotics do not reach the extremities in high concentrations. There are exceptions. Cipro does, but it is not effective against many organisms. Often, unfortunately, an intravenous antibiotic is sometimes required. If the infection is left alone it may end up in the bone, which is the bad news bears. These wounds may have to be surgically deprided. Your wound requires immediate attention by a physician. Remember that every five alarm fire starts with a match. Do not let this problem go. It will not resolve.
It sounds like you have an infection, which can be serious in the lower extremities, especially if you happen to have diabetes. You need to see a primary care doctor to see if the wound needs professional cleaning out.