A picture would really help in this case. Sounds like you may need to have the nail removed or a part of it. You may have a mixed picture of a bacterial and fungal infection which if it is the case both need to be addressed. Make sure you follow up with your doctor so he/she can stage treatments to insure your success.