Since you had unprotected contact, there is definitely a chance of unwanted pregnacy. But as u mentioned its been 1 or 2 months since the act, so there is no medicine which can prevent the pregnancy
to happen. If she is pregnant she would have already missed her periods and you can just confirm the pregnancy. Medicines which avoid pregnancy can be taken only before a girl misses her periods and that also within 3 days of unprotected intercourse
All you can do now is meet a doctor, confirm if she is pregnant and get the pregnancy aborted . Medicines to abort pregnancy can be taken only if she is less than 7weeks pregnant (i.e within 1month). But don't take the medicine on your own as there are risks involved like heavy bleeding , pain etc. so always take it under supervision of a doctor. Other ways of abortion
are surgical when beyond 1month.
Besides getting a pregnancy aborted is not good, and you people should think of settling together if she is pregnant.