Hi, does anyone has information about the proces for cancelling the contract in ATT??

What if i cancel within the 3 days? what if i cancel it before the 30 days? What do i have to pay? Do i have to return phone?

Please advice, thanks!