Can you change from introvert to extrovert?

I was completely happy introvert. But due to getting temporary good friends who left me later, I now have a unending suffering of not being able to talk to people freely happily. It feels highly sad, frustrating, and depressing while it didn't matter before meeting them. My second point is it's hard to make friends for me. How do I just accept it away?