Someone took a picture of me and said that I can not use it

A photographer took pictures of me and told me that I could use them to post on Instagram and online. Since then, they said that I could not use "their work" even though I am the person in the picture. Legally, am I still allowed to use their photos of myself even if I do not have their permission?