Should I stop writing my story if another movie or story is something like it?

I hate when I'm about to finish a story and another movie or story comes out almost the same subject and all. I feel like I should just stop writing altogether. What am I doing wrong or why is it they come out with the same ideas as me?
1 answer 1