secret code not working

samsung secret code not working in J500F after flashing. not even *#06#
any solution??