How do I get my keyboard back on my phone

When you tap on a field to enter text, say in a new text message, when the text to speech comes up, pull down the notification bar and choose the select input notification. Then select your preferred keyboard.