Can doctors tell if you masturbate?

Sometimes my lower right side hurts really bad (I think it’s either my appendix or ovary) so I want to get it checked out by a doctor. It always hurts when I’m on my period or sometimes it hurts directly after masturbating and sometimes lasts for a few days after or it even hurts WHILE masturbating. But it doesn’t hurt if I only do it by rubbing my clit. Only when fingering or inserting something into my vagina. (I use the handle part of a round hair brush I know I should get a real dildo but that’s awkward af and don’t worry I clean it) and sometimes there’s thick white stuff that comes out (apparently that’s normal but some people say it’s not normal) and SOMETIMES there’s blood in it even when I’m not on my period. It’s not super bloody it’s just a pinkish colour. Anyway apparently to get the issue I’m having with my appendix/ovary/whatever checked, they either do an outside ultrasound or one they put in your vag. If they do that one will they be able to tell if I masturbate???