Is it worth it?

So I've been having problems with self lunrication and what not. I just don't find an interest in sex really anymore. It hurts everytime I do.. I don't know what's wrong with me. But my boyfriend is always getting mad at me because I don't want to. Then blames me for getting him in the mood when I don't even mean to.. All we've been doing lately is fighting about sex.. Does this mean all he cares about it sex or?? I just don't know.. He's making me go to the doctor to get it checked out. It's not that I'm not attracted to him but just the thought of sex isn't a good thought anymore.. I just don't get it.. Anyone else have this problem??