Long story short I accidentally opened the back of my film camera when I was fiddling with it. I closed it as soon as I processed what had happened and it rewound to 0. I took two photos on it after that. My question is what do I do now?

I’d already taken 16 of 36 photos before I opened it and I didn’t realize taking those two after would overlay it onto two of my old ones. Should I go get the film developed now? Or is it even worth spending the money since I exposed it to light and took the two photos?