A method in a first network node (101 b, 401) for handling a user equipment in a communication network (100b, 200b, 300b, 400), wherein the first network node (101 b, 401) is connected to the user equipment, the method comprising: receiving (111b, 212b, 312b, 501) a request message from the user equipment, which request message is a Routing Area Update, RAU, message or a Tracking Area Update, TAU, message, which RAU or TAU message is a request for an update related to an area to which the user equipment has moved, or which request message is an activate Packet Data Protocol, PDP, context request message or an activate Packet Data Network, PDN, connection request message, which PDP context request or activate PDN connection request message is a request for transmitting data in the communication network (100b, 200b, 300b, 400); obtaining (113b, 214b, 313b, 503) information about rejection of the request message; characterized by comprising: increasing a parameter indicating a number of rejections associated with the user equipment based on the obtained information; and transmitting (115b, 216b, 315b, 507), to the user equipment, instructions to detach the user equipment from the first network node (101b, 401) when the parameter is above the threshold, wherein the instruction to detach the user equipment is comprised in a RAU reject message or a TAU reject message when the received request message is a RAU or TAU request message; and wherein the instructions to detach the user equipment is comprised in a detach request message when the received request message is an activate PDP context request or activate PDN connection request message; and wherein the first network node (101 b, 401) is a Serving General packet radio service Support Node, SGSN, or a Mobility Management Entity, MME, or a combined SGSN and MME. receiving (111b, 212b, 312b, 501) a request message from the user equipment, which request message is a Routing Area Update, RAU, message or a Tracking Area Update, TAU, message, which RAU or TAU message is a request for an update related to an area to which the user equipment has moved, or which request message is an activate Packet Data Protocol, PDP, context request message or an activate Packet Data Network, PDN, connection request message, which PDP context request or activate PDN connection request message is a request for transmitting data in the communication network (100b, 200b, 300b, 400); obtaining (113b, 214b, 313b, 503) information about rejection of the request message; increasing a parameter indicating a number of rejections associated with the user equipment based on the obtained information; and transmitting (115b, 216b, 315b, 507), to the user equipment, instructions to detach the user equipment from the first network node (101b, 401) when the parameter is above the threshold, wherein the instruction to detach the user equipment is comprised in a RAU reject message or a TAU reject message when the received request message is a RAU or TAU request message; and wherein the instructions to detach the user equipment is comprised in a detach request message when the received request message is an activate PDP context request or activate PDN connection request message; and wherein the first network node (101 b, 401) is a Serving General packet radio service Support Node, SGSN, or a Mobility Management Entity, MME, or a combined SGSN and MME.