If you are not getting any text messages from your contacts after switching to Android, you have to remove your number from Apple’s servers.
First, put the old sim in your iPhone and disable iMessage.
Next, go to this webpage.https://selfsolve.apple.com/deregister-imessage/
Follow the instructions and you should be good to go.
HTH. 🙂