Here are some things to try

Try calling *#06# on your device

If this does not work, try the following:

iPhone: go to Settings -> General -> About

Android: go to Settings -> About -> Phones -> Status

Finally, if neither of those steps work, try removing your phone's battery and look for your ESN/MEID on a sticker in the battery compartment