Step one is to take your girl to a vet with knowledge of pet rats. You need to find out if it is for sure a mammary tumour, and also if your girl has any other medical concerns (such as undetected respiratory symptoms). How old is she?
If it's clearly a mammary tumour and she's otherwise...