User Activity

I want to cancel my contract and keep the phone I have now and keep the same number how do I go about doing thatAnd how it I don't cancel now how do I do it when my contract up