Playing a card this way follows the normal rules for playing the card. You must pay its costs, and you must follow all applicable timing rules. For example, if the card is a sorcery card, you can cast it only during your main phase while the stack is empty.