chain slipped off...
stuck between the frame and derailleur?
what should i do?
Showing a picture would make help a lot easier
if you're talking about the rear, release the wheel and you should be able to get it out. If you're talking about the front, pull the drive side crank arm and you should be able to get it unstuck. If this is a carbon fiber frame, very carefully inspect frame from damage from the chain
Try pulling it toward the front wheel to unstick it. Do it with the rear wheel off the bike so you have plenty of chain to pull on. If it is really jambed you could take the crank off; however, I've never had to do this.
Inspect the chain to make sure none of the links are twisted or stuck.
They can get really jambed in carbon fibre frames.
I believe all bikes should come with chain catchers to prevent this from ever happening. You should purchase on in the future.
What you should do is make sure your derailleur is properly aligned and adjusted before riding again, and (not to be harsh) you should most likely have a professional do so if you can't figure out how to get the derailleur unjammed just by looking and applying logic.