Is it Sleep Apnea or Insomnia🤔

So, I had doctors last week Thursday morning and the doctor said that I might either have SLEEP APNEA, INSOMNIA or maybe BOTH😳. My symptoms are, hard time breathing while sleeping, hard time falling and staying asleep, headaches, lost of sex drive, and choking in my sleep🙄???? I mean... What is it????