Pregnant

If I have sex and I miss my period a few weeks later so I wait two weeks to get a pregnancy test and it says I'm pregnant, what can I do or take so I won't be pregnant? I'm too young for a child.