If someone hacks your ip, simply let them. it is widely output on the internet all the time. if they say they are accessing your personal accounts, that is illegal. however, it is completely legal to see your isp, ip adress, and your type of ip. i tell people to go ahead because 9/10 people wont do anything.