cramps and sex

Natalia
6 weeks pregnant with cramps and I just had sex. Should I be worried? I've heard people saying that I should stay away from having sex for a while.