Hello and welcome to iMore. In regards to your question, more specific information would be helpful. In order to continue the conversation, please join the site so you can reply in this thread. See this link for instructions on how to join iMore.
I'm going to assume this is occurring on a smartphone. If so, your smartphone may be connected to a Bluetooth headset that you may not have been wearing when you attempted to make or answer a call.