AC blows warm - 2015 Ford C-Max Hybrid

A/C issues. First the flap sticks on longer drives leaving no air out of vents. Now A/C is just going out occasionally blowing hot air. Must not be working to assess the situation but you never know when or where it will start just blowing hot air.