Nail issue

So I was pretty sure this was a nail fungus from getting fake nails so I went to the doctor and they prescribed me some ointment to put on it 3 times a day for a week. Well that didn't help. Has anyone else ever had this happen? What was it and what did you do?