Pregnancy is not likely. It takes sperm eggs to become pregnant.
Girls can get stomach aches. A stomach ache is not the first sign of pregnancy.
Always use birth control if you are frightened of pregnancy.
FYI: DO NOT go from anal to vaginal intercourse or even rubbing. This can cause terrible infection (maybe this is her stomach ache problem?) and urinary tract infection as well. Always wash your bits!