When you go to the doctor and he sees that you have a small tear in your "hymen" will he know I am having sex?

Not necessarily. Hymen can be torn inserting a tampon, riding a bicycle or horse or from a straddle injury.
Why would you care. Why would you care? If you are having sex it would be in your best interest to tell your physician then he would not need to make any guesses.