If you want to insert "new" node after "current" node, then your logic would be
new->next = current->next
current->next = new
if you want to delete "current" node which comes after "previous", then your logic would be
previous = current
current = previous->next
previous->next = current->next
Dipalee