If you are using a phone case, it may be blocking the mic or you have accidentally muted the mic. You might also want to check the mic if there's anything stuck in it.