Once you learn how to be awake in your dreams, then you can practice controlling it. The secret ingredient here would be not to panic when you realize this is a dream. When you find yourself comfortable in your dream, then you can do whatever you want.