You're reassurance seeking
You'll never be able to answers to those questions. Learning to accept that uncertainty is the goal of therapy
But why have I spoke to people at the end of therapy and they have realised they are not???
Having OCD means that you'll always have these doubts. You might become more comfortable with your sexuality (and your doubts around it) but you will never have they certainty. When you start therapy your therapist will, probably, say something similar. As @Kittiess said, you're reassurance seeking and unfortunately, with OCD, you'll never get that reassurance. I've struggled with both these areas and therapy definitely helps
But my therapist said I will realise I am not Gay at the end of it? But are you saying someone could have PoCD and realise they are a pedophile or having HOCd you can realise you are Gay at the end of therapy. As my therapist have said they have never heard or seen this happening
I know how anxiety provoking those thoughts are and how desperate you must be to get rid of them but asking them is OCD behaviour. This is something you will work on in therapy
So can I be pedophile