A UE policy obtaining method, comprising: receiving, by a first policy control function network element in a visited public land mobile network, VPLMN, a first UE policy of a home public land mobile network, HPLMN from a second policy control function network element in the HPLMN, wherein the first UE policy comprises a first rule, the first rule is used to indicate an association between first network slice identification information, a first application, and first data network identification information, the first data network identification information is used to identify a first data network, and the first data network allows local break-out, LBO, and supports the first application and a second application; and sending, by the first policy control function network element, a second UE policy of the VPLMN to user equipment, wherein the second UE policy comprises a second rule and a third rule, the second rule is used to indicate an association between second network slice identification information, the first application, and the first data network identification information, and the third rule is used to indicate an association between the second network slice identification information, the second application, and the first data network identification information, sending, by the first policy control function network element, an identifier of the VPLMN to the user equipment, wherein the identifier of the VPLMN is associated with the second UE policy, receiving, by the first policy control function network element, instruction information from the second policy control function network element, wherein the instruction information is used to trigger sending of the first UE policy and the identifier of the HPLMN to the user equipment, and sending, by the first policy control function network element, the first UE policy and an identifier of the HPLMN to the user equipment, wherein the identifier of the HPLMN is associated with the first UE policy. receiving, by a first policy control function network element in a visited public land mobile network, VPLMN, a first UE policy of a home public land mobile network, HPLMN from a second policy control function network element in the HPLMN, wherein the first UE policy comprises a first rule, the first rule is used to indicate an association between first network slice identification information, a first application, and first data network identification information, the first data network identification information is used to identify a first data network, and the first data network allows local break-out, LBO, and supports the first application and a second application; and sending, by the first policy control function network element, a second UE policy of the VPLMN to user equipment, wherein the second UE policy comprises a second rule and a third rule, the second rule is used to indicate an association between second network slice identification information, the first application, and the first data network identification information, and the third rule is used to indicate an association between the second network slice identification information, the second application, and the first data network identification information, sending, by the first policy control function network element, an identifier of the VPLMN to the user equipment, wherein the identifier of the VPLMN is associated with the second UE policy, receiving, by the first policy control function network element, instruction information from the second policy control function network element, wherein the instruction information is used to trigger sending of the first UE policy and the identifier of the HPLMN to the user equipment, and sending, by the first policy control function network element, the first UE policy and an identifier of the HPLMN to the user equipment, wherein the identifier of the HPLMN is associated with the first UE policy.