just want to make sure im doing it right

i eat 1700 calories say i burn 500 calories with exercise and that takes me to 1200 is that enough to lose weight or do i have to eat my calories back up to 1700