Hi.
The increased hormonal soup that gets stirred up during adolescence is one of the reasons why boys are suddenly more interested in all things sexual than they were before. It can seem particularly annoying when you're trying to talk to a guy and all he seems to want to do is fool around. Both males and females produce testosterone, but guys have an abundance of it. It's the main male sex hormone, and it's a big part of why some boys can seem so horny all the time.
If you meet someone and want to try to get to know him better, you can let him know that there are other things that you care about. If a guy is truly interested in you as a person and not merely someone to hook up with, then it is likely that he will keep talking to you. If he doesn't, then it's a good sign that this particular boy is letting his hormones guide things.
Sometimes talking about sexual activities is a way for boys to bond and boast with one another, but on his own and with a girl, a particular boy might be less obsessed.
This could also be a way for a boy to mask his own self-consciousness about dealing with girls. He knows he wants to be around girls for some reason, but he might have a hard time articulating how he feels when he is around them. So it might seem easier or more comfortable for him to communicate in this manner, as opposed to dealing with his own feelings and fears.
You should probably also keep this in mind: Deciding whether or not to get involved with someone in any kind of sexual activity is a choice you should make sure to feel comfortable with in each situation. It is very important to feel that you are doing whatever YOU want to do, and not to feel pressure from a partner or potential partner, as they may not always take your feelings into consideration.
If it really seems like every guy is sex-obsessed, you may need to wait things out until they calm down a little. Usually, the hormonal frenzy cools off some as people get older, and you may find that it gets easier to talk to guys later on.