They both need to talk to an adult they trust about this, they're both underage and 13 years old is too young to be having sex, it's not too young to get pregnant though.
It's sad when someone that age doesn't realize that casual sex is something they will regret, they should wait until they're older and have met someone really special because at 13 years old their feelings will change multiple times in the next five years.
If you have any influence on them tell them to wait they're playing with fire.