Proper technique is the key, as well as keeping calm and remembering to breath. I have muscled my way out a few times but hurt myself doing it, but have also been held down with no way out. I am in no way qualified to give advice, but if you get a chance to work with one of the Blue belts they have great tips, just try to hold one of them down and that becomes apparent very quickly. What amazes me it they can get out of mount or any position with what seems like very little effort.
I still think it is best not to get mounted or caught in side control in the first place!
Good luck