Is it ok for your boyfriend to tell you what not to wear?

I wanted to wear a crop top today and he wouldn't let me. I have so many new clothes that are crop tops that I haven't worn because of him.  Is this ok? What do I do?