Can you explain the problem any more, from what you say, firstly go into Settings, General, Use Side Switch To.......check what this is set too, if it is Lock Rotation then check the lock rotation/mute switch on RHS of iPad, make sure there isn't a red dot on the switch.
If this works then great, if not, come back with more info and lets see what we can do for ya