pregnancy cramps

Im 6 weeks pregnanct and have mild stomach cramps can you use a hot water bottle? Is it safe x