To give a little input, these thoughts started bugging me some months after I was watching porn one day and suddenly a hentai video started playing with children/pre-teens and I was already feeling turned on from the other videos but I felt some more with that one. I didn't think about it for months and then suddenly "puff! remember when...?" (In addition, I heard someone correlating Pedophilia with the LGBTQ+ community, and being a part of it, it was kind of a trigger.)

So I've been dealing with some pocd thoughts lately and so when I'm scrolling through Instagram and see someone I find attractive I frequently need to go in their bio to check their age. Some of them don't have it, some do and are my age or older and there was this one who was 13 (I'm 16, turning 17 next month) and made me freak out (even though I understand it's not that big of a deal). Bedsides, when the person is older, my mind goes like "well, you only liked them cause they look younger" which is horrible.
And also my brain has been kinda like "you were never actually attracted to anyone your age or older that is just a lie you tell yourself" lately (which is completely untrue but still makes me feel awful). 

Also, I think I have to say that I've never felt interested in kids (I actually don't really like them) and actually have lots of crushes in older celebrities (and am in love with someone my age). 

This is the second time I'm dealing with pocd thoughts and it sucks so I'd like to know:

1. Can that "checking the bio" thing be a compulsion? 
2. Any advice on the thoughts? 

I'd really appreciate any help you could give me!